felixge/node-mysql — pull request #618 by seanmonstar (2013-10-16 05:37:26+00:00)
Title: always pass handshakeInitializationPacket to ChangeUser

If the queue is empty before calling a ChangeUser sequence, the sequence will be started without being passed the handshake packet. This makes sure it gets passed.

Additionally, validateEnqueue now has a test that handeshake() was called before changeUser().

fixes #374