]> 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 9a6228945d36475d5b2d338b258d4d0641bb71f0..413f449f7d52284b0f65063708c4faba7cf8bf55 100644 (file)
@@ -831,9 +831,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);
        }