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:
Andrey Hristov 2011-10-10 20:49:28 +00:00
parent 33eb2ab6f1
commit b5f5770399
7 changed files with 384 additions and 241 deletions

View file

@ -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;
}
}