Free dataset after INIT_CONNECT

pull/1856/head
René Cannaò 8 years ago
parent e25a5bc26e
commit bc83d56063

@ -1422,6 +1422,7 @@ bool MySQL_Session::handler_again___status_SETTING_INIT_CONNECT(int *_rc) {
int rc=myconn->async_send_simple_command(myds->revents,myconn->options.init_connect,strlen(myconn->options.init_connect));
if (rc==0) {
myds->revents|=POLLOUT; // we also set again POLLOUT to send a query immediately!
myds->free_mysql_real_query();
st=previous_status.top();
previous_status.pop();
NEXT_IMMEDIATE_NEW(st);

Loading…
Cancel
Save