MXS-1625 large_query flag moved from RWS session to query classifier

This commit is contained in:
Johan Wikman
2018-04-04 14:40:07 +03:00
parent bc22790e1b
commit c08120846c
7 changed files with 22 additions and 6 deletions

View File

@ -347,7 +347,7 @@ int32_t RWSplitSession::routeQuery(GWBUF* querybuf)
(expected_responses == 0 ||
mxs_mysql_get_command(querybuf) == MXS_COM_STMT_FETCH ||
m_qc.load_data_state() == QueryClassifier::LOAD_DATA_ACTIVE ||
large_query))
m_qc.large_query()))
{
/** Gather the information required to make routing decisions */
RouteInfo info(this, querybuf);