Use correct capability for schemarouter

The router should use RCAP_TYPE_CONTIGUOUS_INPUT as it parses the
statements.
This commit is contained in:
Markus Mäkelä 2017-03-06 16:35:17 +02:00
parent e7b5731976
commit b4d81ffe27

View File

@ -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;
}
/**