summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2023-01-18 16:58:28 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2023-01-18 16:58:28 +0100
commit66bd8cd6c3fcfe1a46b992d71ef8af1c17ba0769 (patch)
tree9e2ad7a512c469a54166cffa5d97be13c98e041d /sql/sql_lex.h
parentbb3a63903e5192d39d93259ce2bb7635fcfca7a0 (diff)
parent45087dd0b349062d4924ef932696dc674f10c396 (diff)
downloadmariadb-git-66bd8cd6c3fcfe1a46b992d71ef8af1c17ba0769.tar.gz
Merge branch '10.10' into 10.11
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 942e2075ff1..95ed308103d 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;
}