MXS-1625 Remove final traces of RWSplitSession

The code for figuring out the where to send a statement does no
longer depend upon RWSplitSession but only on QueryClassifier.
So now the functionality can be moved into QueryClassifier after
which further cleanup and streamlining can be done.
This commit is contained in:
Johan Wikman
2018-04-06 15:27:47 +03:00
parent 300de4ecc6
commit a102ddf5de
4 changed files with 95 additions and 38 deletions

View File

@ -199,7 +199,8 @@ private:
QueryClassifier::QueryClassifier(MXS_SESSION* pSession,
mxs_target_t use_sql_variables_in)
: m_pSession(pSession)
: m_pHandler(NULL)
, m_pSession(pSession)
, m_use_sql_variables_in(use_sql_variables_in)
, m_load_data_state(LOAD_DATA_INACTIVE)
, m_load_data_sent(0)