mysql: Advance buffer to comply with protocol

Fixes #254
This commit is contained in:
Peter Maatman 2020-04-25 14:06:01 +02:00 committed by Ryan Leckey
parent 3e2ed00b60
commit 4122a3dbd9

View file

@ -55,7 +55,7 @@ impl Handshake {
buf.get_u8()?
} else {
// 0x00 : int<1>
buf.advance(0);
buf.advance(1);
0
};