Revert "Route statements in larger batches"
This reverts commit f3c83770903151a0a3b53593c3e05fa0af94cd5f. The functionality was used implicitly by modules that declare the RCAP_TYPE_CONTIGUOUS_OUTPUT capability.
This commit is contained in:
parent
0c3f9ffa2e
commit
1ff83150f0
@ -778,6 +778,11 @@ gw_read_and_write(DCB *dcb)
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
else if (rcap_type_required(capabilities, RCAP_TYPE_STMT_OUTPUT) &&
|
||||
!rcap_type_required(capabilities, RCAP_TYPE_RESULTSET_OUTPUT))
|
||||
{
|
||||
stmt = modutil_get_next_MySQL_packet(&read_buffer);
|
||||
}
|
||||
else
|
||||
{
|
||||
stmt = read_buffer;
|
||||
|
Loading…
x
Reference in New Issue
Block a user