From: Andrey Hristov Date: Wed, 27 Jul 2011 10:26:59 +0000 (+0000) Subject: longer error messages, don't cut them X-Git-Tag: php-5.4.0alpha3~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=11e4f1e39ae66d5869a2d58e493ab9cbbd6e12ff;p=php longer error messages, don't cut them --- diff --git a/ext/mysqlnd/mysqlnd.c b/ext/mysqlnd/mysqlnd.c index e6072e3201..e02fd79099 100644 --- a/ext/mysqlnd/mysqlnd.c +++ b/ext/mysqlnd/mysqlnd.c @@ -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); }