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:
parent
1e3ab1fc7c
commit
b2ec8c95de
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user