1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fixed condition

This commit is contained in:
Oleksandr Byelkin
2016-09-09 13:12:47 +02:00
parent ec47beaba6
commit 2c52493d14

View File

@ -6178,7 +6178,7 @@ remove_key:
uint c;
while ((check=it++))
{
if ((!check->flags & Alter_info::CHECK_CONSTRAINT_IF_NOT_EXISTS) &&
if (!(check->flags & Alter_info::CHECK_CONSTRAINT_IF_NOT_EXISTS) &&
check->name.length)
continue;
check->flags= 0;