]> granicus.if.org Git - php/commitdiff
longer error messages, don't cut them
authorAndrey Hristov <andrey@php.net>
Wed, 27 Jul 2011 10:26:59 +0000 (10:26 +0000)
committerAndrey Hristov <andrey@php.net>
Wed, 27 Jul 2011 10:26:59 +0000 (10:26 +0000)
ext/mysqlnd/mysqlnd.c

index e6072e3201277d992b6fc84d7029d55303757c84..e02fd79099b03ac8191463cbcf437ebc435f9bd8 100644 (file)
@@ -931,9 +931,9 @@ err:
        PACKET_FREE(greet_packet);
 
        if (errstr) {
-               DBG_ERR_FMT("[%u] %.64s (trying to connect via %s)", errcode, errstr, conn->scheme);
+               DBG_ERR_FMT("[%u] %.128s (trying to connect via %s)", errcode, errstr, conn->scheme);
                SET_CLIENT_ERROR(conn->error_info, errcode? errcode:CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, errstr);
-               php_error_docref(NULL TSRMLS_CC, E_WARNING, "[%u] %.64s (trying to connect via %s)", errcode, errstr, conn->scheme);
+               php_error_docref(NULL TSRMLS_CC, E_WARNING, "[%u] %.128s (trying to connect via %s)", errcode, errstr, conn->scheme);
                /* no mnd_ since we don't allocate it */
                efree(errstr);
        }