Correctly reset PS continuation state

The state was modified only by PS commands.
This commit is contained in:
Markus Mäkelä 2019-07-01 10:33:18 +03:00
parent 4954c7f6b7
commit b2019ea18e
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -994,6 +994,9 @@ QueryClassifier::RouteInfo QueryClassifier::update_route_info(
uint32_t type_mask = QUERY_TYPE_UNKNOWN;
uint32_t stmt_id = 0;
// Reset for every classification
m_ps_continuation = false;
// TODO: It may be sufficient to simply check whether we are in a read-only
// TODO: transaction.
bool in_read_only_trx =