From b4d81ffe272dbeeaa5eae00db932c28e2d9f84da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Mon, 6 Mar 2017 16:35:17 +0200 Subject: [PATCH] Use correct capability for schemarouter The router should use RCAP_TYPE_CONTIGUOUS_INPUT as it parses the statements. --- server/modules/routing/schemarouter/schemarouter.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server/modules/routing/schemarouter/schemarouter.c b/server/modules/routing/schemarouter/schemarouter.c index dc4f9c433..e4beff9d3 100644 --- a/server/modules/routing/schemarouter/schemarouter.c +++ b/server/modules/routing/schemarouter/schemarouter.c @@ -3318,11 +3318,13 @@ static rses_property_t* mysql_sescmd_get_property(mysql_sescmd_t* scmd) } /** - * Return RCAP_TYPE_STMT_INPUT. + * @brief Get router capabilities + * + * @return Always RCAP_TYPE_CONTIGUOUS_INPUT */ static uint64_t getCapabilities(MXS_ROUTER* instance) { - return RCAP_TYPE_STMT_INPUT; + return RCAP_TYPE_CONTIGUOUS_INPUT; } /**