From bd17ae28d6192b72bfcf099180021f3ccc509334 Mon Sep 17 00:00:00 2001 From: Qianqian Bu Date: Tue, 3 Sep 2019 11:04:47 +0800 Subject: [PATCH] followup fix for BUG29855733, reserved filed should be with length 22 now --- lib/mysql/connector/protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mysql/connector/protocol.py b/lib/mysql/connector/protocol.py index 9e70c92..f62f8d1 100644 --- a/lib/mysql/connector/protocol.py +++ b/lib/mysql/connector/protocol.py @@ -141,7 +141,7 @@ def make_auth_ssl(self, charset=45, client_flags=0, return utils.int4store(client_flags) + \ utils.int4store(max_allowed_packet) + \ utils.int2store(charset) + \ - b'\x00' * 23 + b'\x00' * 22 def make_command(self, command, argument=None): """Make a MySQL packet containing a command"""