Skip to content

Commit 2c52493

Browse files
committed
Fixed condition
1 parent ec47bea commit 2c52493

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/sql_table.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6178,7 +6178,7 @@ handle_if_exists_options(THD *thd, TABLE *table, Alter_info *alter_info)
61786178
uint c;
61796179
while ((check=it++))
61806180
{
6181-
if ((!check->flags & Alter_info::CHECK_CONSTRAINT_IF_NOT_EXISTS) &&
6181+
if (!(check->flags & Alter_info::CHECK_CONSTRAINT_IF_NOT_EXISTS) &&
61826182
check->name.length)
61836183
continue;
61846184
check->flags= 0;

0 commit comments

Comments
 (0)