add session tracker:SESSION_TRACK_TRANSACTION_CHARACTERISTICS and fix wrong state mapping
This commit is contained in:
@ -755,9 +755,6 @@ gw_read_and_write(DCB *dcb)
|
||||
bool result_collected = false;
|
||||
MySQLProtocol *proto = (MySQLProtocol *)dcb->protocol;
|
||||
|
||||
/** Get sesion track info from ok packet and save it to gwbuf properties */
|
||||
mxs_mysql_get_session_track_info(read_buffer, proto->server_capabilities);
|
||||
|
||||
if (rcap_type_required(capabilities, RCAP_TYPE_PACKET_OUTPUT) ||
|
||||
rcap_type_required(capabilities, RCAP_TYPE_CONTIGUOUS_OUTPUT) ||
|
||||
proto->ignore_replies != 0)
|
||||
@ -773,6 +770,9 @@ gw_read_and_write(DCB *dcb)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/** Get sesion track info from ok packet and save it to gwbuf properties */
|
||||
mxs_mysql_get_session_track_info(tmp, proto->server_capabilities);
|
||||
|
||||
read_buffer = tmp;
|
||||
|
||||
if (rcap_type_required(capabilities, RCAP_TYPE_CONTIGUOUS_OUTPUT) ||
|
||||
|
Reference in New Issue
Block a user