MXS-1776: Fix utility functions
The COM_STMT_FETCH command will create a response. This was a readwritesplit-specific interpretation of the command and it was wrong. Also record the currently executed command event for session commands.
This commit is contained in:
@ -1657,8 +1657,7 @@ bool mxs_mysql_command_will_respond(uint8_t cmd)
|
||||
{
|
||||
return cmd != MXS_COM_STMT_SEND_LONG_DATA &&
|
||||
cmd != MXS_COM_QUIT &&
|
||||
cmd != MXS_COM_STMT_CLOSE &&
|
||||
cmd != MXS_COM_STMT_FETCH;
|
||||
cmd != MXS_COM_STMT_CLOSE;
|
||||
}
|
||||
|
||||
typedef std::vector< std::pair<SERVER*, uint64_t> > TargetList;
|
||||
|
Reference in New Issue
Block a user