MXS-1625 Remove duplicate function

Correct test in remaining function.
This commit is contained in:
Johan Wikman
2018-04-11 14:45:19 +03:00
parent 77a258de86
commit 7d97bf76ea
2 changed files with 1 additions and 11 deletions

View File

@ -720,7 +720,7 @@ bool RWSplitSession::lock_to_master()
bool RWSplitSession::is_locked_to_master() const
{
return m_target_node && m_target_node == m_current_master;
return m_current_master && m_target_node == m_current_master;
}
bool RWSplitSession::supports_hint(HINT_TYPE hint_type) const