Use correct capability for schemarouter
The router should use RCAP_TYPE_CONTIGUOUS_INPUT as it parses the statements.
This commit is contained in:
@ -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)
|
static uint64_t getCapabilities(MXS_ROUTER* instance)
|
||||||
{
|
{
|
||||||
return RCAP_TYPE_STMT_INPUT;
|
return RCAP_TYPE_CONTIGUOUS_INPUT;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user