mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
longer error messages, don't cut them
This commit is contained in:
parent
cf8bf9f2f0
commit
94ccf70c77
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user