MXS-1765: Cork query queue until server handshake is read
The internal client must not drain the query queue if the server handshake has not yet been read.
This commit is contained in:
@ -139,7 +139,7 @@ void LocalClient::process(uint32_t events)
|
||||
error();
|
||||
}
|
||||
|
||||
if (m_queue.size() && m_state != VC_ERROR)
|
||||
if (m_queue.size() && m_state != VC_ERROR && m_state != VC_WAITING_HANDSHAKE)
|
||||
{
|
||||
drain_queue();
|
||||
}
|
||||
|
Reference in New Issue
Block a user