summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 85f7da7d09f..1c355d04bf2 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -4397,7 +4397,7 @@ public:
bool if_not_exists)
{
constr->name= name;
- constr->flags= if_not_exists ? VCOL_CHECK_CONSTRAINT_IF_NOT_EXISTS : 0;
+ constr->if_not_exists= if_not_exists;
alter_info.check_constraint_list.push_back(constr);
return false;
}