mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
MYSQLND_NET refactored not to use any direct reference to MYSQLND (the connection)
QC will need an ifdef-layer to compile with this
This commit is contained in:
parent
33eb2ab6f1
commit
b5f5770399
7 changed files with 384 additions and 241 deletions
|
@ -105,8 +105,6 @@ mysqlnd_auth_handshake(MYSQLND * conn,
|
|||
auth_packet->auth_plugin_name = auth_protocol;
|
||||
|
||||
if (!PACKET_WRITE(auth_packet, conn)) {
|
||||
CONN_SET_STATE(conn, CONN_QUIT_SENT);
|
||||
SET_CLIENT_ERROR(conn->error_info, CR_SERVER_GONE_ERROR, UNKNOWN_SQLSTATE, mysqlnd_server_gone);
|
||||
goto end;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue