Re: [Maria-developers] 66cd0f2: MDEV-9704: ALTER TABLE does not work from client
Hi, OleksandrByelkin! On Mar 11, OleksandrByelkin wrote:
revision-id: 66cd0f2f02bb45707b38e983186ab8e7aae21da9 (mariadb-10.1.8-156-g66cd0f2) parent(s): 75d8544c0bc611e82078b9e5f59caef9105e4892 committer: Oleksandr Byelkin timestamp: 2016-03-11 16:55:57 +0100 message:
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 cd44673..3ae25d5 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;
Okay. And I think that now you don't need CLIENT_PROGRESS_OBSOLETE either. Regards, Sergei Chief Architect MariaDB and security@mariadb.org
participants (1)
-
Sergei Golubchik