summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2011-07-27 10:26:59 +0000
committerAndrey Hristov <andrey@php.net>2011-07-27 10:26:59 +0000
commit94ccf70c77535f449ac9050c0f19b3186128cf3b (patch)
treee2c8daf6c716cb980d46245e4512d8d39b46225e
parentcf8bf9f2f0f170c3d3cb700a0ac399e618c8bba1 (diff)
downloadphp-git-94ccf70c77535f449ac9050c0f19b3186128cf3b.tar.gz
longer error messages, don't cut them
-rw-r--r--ext/mysqlnd/mysqlnd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysqlnd/mysqlnd.c b/ext/mysqlnd/mysqlnd.c
index 9a6228945d..413f449f7d 100644
--- a/ext/mysqlnd/mysqlnd.c
+++ b/ext/mysqlnd/mysqlnd.c
@@ -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);
}