Add collectable resultset buffer type
The new type allows routers to send queries and get complete result sets as a response. This allows the routers to easily send commands that create result sets and which are parsed by the router. Currently only the schemarouter benefits from this new capability as it generates the database mappings by parsing the output of a SHOW DATABASES query.
This commit is contained in:
@ -305,8 +305,9 @@ typedef struct
|
||||
uint32_t extra_capabilities; /*< MariaDB 10.2 capabilities */
|
||||
unsigned long tid; /*< MySQL Thread ID, in handshake */
|
||||
unsigned int charset; /*< MySQL character set at connect time */
|
||||
int ignore_replies; /*< How many replies should be discarded */
|
||||
int ignore_replies; /*< How many replies should be discarded */
|
||||
GWBUF* stored_query; /*< Temporarily stored queries */
|
||||
bool collect_result; /*< Collect the next result set as one buffer */
|
||||
#if defined(SS_DEBUG)
|
||||
skygw_chk_t protocol_chk_tail;
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user