Made "result", "statement" and "last_message" to always use Zend MM heap. (even for persistent connections these entities don't relive request boundary)

This commit is contained in:
Dmitry Stogov 2017-11-02 03:27:25 +03:00
parent 468fd78bff
commit a7305eb539
14 changed files with 132 additions and 157 deletions

View file

@ -339,7 +339,7 @@ mysqlnd_auth_handshake(MYSQLND_CONN_DATA * conn,
goto end;
}
SET_NEW_MESSAGE(conn->last_message.s, conn->last_message.l, auth_resp_packet->message, auth_resp_packet->message_len, conn->persistent);
SET_NEW_MESSAGE(conn->last_message.s, conn->last_message.l, auth_resp_packet->message, auth_resp_packet->message_len);
ret = PASS;
end:
PACKET_FREE(change_auth_resp_packet);