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 bca650105a9..bc3e06c6192 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -2991,7 +2991,7 @@ public:
bool add_constraint(LEX_STRING *name, Virtual_column_info *constr)
{
constr->name= *name;
- alter_info.constraint_list.push_back(constr);
+ alter_info.check_constraint_list.push_back(constr);
return false;
}
void set_command(enum_sql_command command,