summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2023-01-17 20:02:29 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2023-01-17 20:02:29 +0200
commita8c5635cf156d353c58d940bb5fd3ac026159b95 (patch)
tree2b14ada67f3f08d14f1ae54f7e5c4ad45e63cf10 /sql/sql_lex.h
parent95de5248c7f59f96039f96f5442142c79da27b20 (diff)
parent0459d2ccfc782475e596c9991e0525186953a4f3 (diff)
downloadmariadb-git-a8c5635cf156d353c58d940bb5fd3ac026159b95.tar.gz
Merge 10.5 into 10.6
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 82453ad8259..51a33af61fc 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -4402,7 +4402,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;
}