From dc08ccab422098d2466fa342d577f03c941a4ffc Mon Sep 17 00:00:00 2001 From: Oleksandr Byelkin Date: Fri, 11 Mar 2016 16:55:57 +0100 Subject: [PATCH] MDEV-9704: ALTER TABLE does not work from client Do not try to send progress packets if client was not informed about them. --- sql/sql_acl.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/sql/sql_acl.cc b/sql/sql_acl.cc index cd446737e6d..3ae25d5546b 100644 --- a/sql/sql_acl.cc +++ b/sql/sql_acl.cc @@ -11900,8 +11900,6 @@ static ulong parse_client_handshake_packet(MPVIO_EXT *mpvio, (((ulonglong)uint4korr(net->read_pos + 28)) << 32); client_capabilities|= ext_client_capabilities; } - else if (client_capabilities & CLIENT_PROGRESS_OBSOLETE) - client_capabilities|= MARIADB_CLIENT_PROGRESS; } /* Disable those bits which are not supported by the client. */