Add result set buffering to MySQLBackend
The backend MySQL protocol module now supports a new routing capability which allows result sets to be gathered into one buffer before they are routed onward. This should not be used by modules that expect large result sets as the result set is buffered in memory. Adding a limit on how large of a result set could be buffered would allow relatively safe use of this routing capability without compromising the stability of the system.
This commit is contained in:
@ -1846,7 +1846,7 @@ static void rses_end_locked_router_action(ROUTER_SLAVE *rses)
|
||||
|
||||
static uint64_t getCapabilities(void)
|
||||
{
|
||||
return RCAP_TYPE_NO_RSESSION | RCAP_TYPE_CONTIGUOUS_OUTPUT;
|
||||
return RCAP_TYPE_NO_RSESSION | RCAP_TYPE_CONTIGUOUS_OUTPUT | RCAP_TYPE_RESULTSET_OUTPUT;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user