Skip to content

Commit 94ccf70

Browse files
committed
longer error messages, don't cut them
1 parent cf8bf9f commit 94ccf70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/mysqlnd/mysqlnd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -831,9 +831,9 @@ MYSQLND_METHOD(mysqlnd_conn, connect)(MYSQLND * conn,
831831
PACKET_FREE(greet_packet);
832832

833833
if (errstr) {
834-
DBG_ERR_FMT("[%u] %.64s (trying to connect via %s)", errcode, errstr, conn->scheme);
834+
DBG_ERR_FMT("[%u] %.128s (trying to connect via %s)", errcode, errstr, conn->scheme);
835835
SET_CLIENT_ERROR(conn->error_info, errcode? errcode:CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, errstr);
836-
php_error_docref(NULL TSRMLS_CC, E_WARNING, "[%u] %.64s (trying to connect via %s)", errcode, errstr, conn->scheme);
836+
php_error_docref(NULL TSRMLS_CC, E_WARNING, "[%u] %.128s (trying to connect via %s)", errcode, errstr, conn->scheme);
837837
/* no mnd_ since we don't allocate it */
838838
efree(errstr);
839839
}

0 commit comments

Comments
 (0)