check protocol state to determine real ok packet

This commit is contained in:
Dapeng Huang
2018-01-22 14:52:12 +08:00
parent 8ce7683a0a
commit 81f303512e
5 changed files with 148 additions and 73 deletions

View File

@ -771,7 +771,7 @@ gw_read_and_write(DCB *dcb)
}
/** Get sesion track info from ok packet and save it to gwbuf properties */
mxs_mysql_get_session_track_info(tmp, proto->server_capabilities);
mxs_mysql_get_session_track_info(tmp, proto);
read_buffer = tmp;