fix multistatment hang (#180)
This commit is contained in:

committed by
Johan Wikman

parent
c878146c24
commit
087272c3e4
@ -823,7 +823,8 @@ gw_read_and_write(DCB *dcb)
|
||||
if (mxs_mysql_is_result_set(read_buffer))
|
||||
{
|
||||
bool more = false;
|
||||
if (modutil_count_signal_packets(read_buffer, 0, &more, NULL) != 2)
|
||||
int eof_cnt = modutil_count_signal_packets(read_buffer, 0, &more, NULL);
|
||||
if (more || eof_cnt % 2 != 0)
|
||||
{
|
||||
dcb_readq_prepend(dcb, read_buffer);
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user