1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-9704: ALTER TABLE does not work from client

Do not try to send progress packets if client was not informed about them.
This commit is contained in:
Oleksandr Byelkin
2016-03-11 16:55:57 +01:00
parent 5c1add3e07
commit dc08ccab42

View File

@ -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. */