mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Use ZSTR_ API to access zend_string elements (this is just renaming without semantick changes).
This commit is contained in:
parent
8cce5b2641
commit
4a2e40bb86
169 changed files with 3285 additions and 3175 deletions
|
@ -190,7 +190,7 @@ MYSQLND_METHOD(mysqlnd_net, open_tcp_or_unix)(MYSQLND_NET * const net, const cha
|
|||
mnd_sprintf_free(hashed_details);
|
||||
}
|
||||
errcode = CR_CONNECTION_ERROR;
|
||||
SET_CLIENT_ERROR(*error_info, errcode? errcode:CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, errstr->val);
|
||||
SET_CLIENT_ERROR(*error_info, errcode? errcode:CR_CONNECTION_ERROR, UNKNOWN_SQLSTATE, ZSTR_VAL(errstr));
|
||||
if (errstr) {
|
||||
/* no mnd_ since we don't allocate it */
|
||||
zend_string_release(errstr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue