MXS-1506: Use mxs::Buffer for current query

The mxs::Buffer class already implemented most of the code that was in the
RWSplitSession class.
This commit is contained in:
Markus Mäkelä
2018-04-07 09:54:41 +03:00
parent 196543ef39
commit 90eeba45df
2 changed files with 7 additions and 9 deletions

View File

@ -37,8 +37,7 @@ RWSplitSession::RWSplitSession(RWSplit* instance, MXS_SESSION* session,
m_wait_gtid_state(EXPECTING_NOTHING),
m_next_seq(0),
m_qc(this, session, instance->config().use_sql_variables_in),
m_retry_duration(0),
m_current_query(NULL)
m_retry_duration(0)
{
if (m_config.rw_max_slave_conn_percent)
{