summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2023-01-03 14:38:27 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2023-01-03 14:38:27 +0200
commitd54510716e3ed1c497eb45338dbc47dfd0c2d0b2 (patch)
tree94a3351755f524f29f7931ba33fbc9438132a82f /sql/sql_table.cc
parentfb41117c907a99d051ac09c229762978373d7eb0 (diff)
parente51a1d6fc0c105d56c6f05efb3d9fd05b7e4f22f (diff)
downloadmariadb-git-10.4-MDEV-29988-merge.tar.gz
WIP merge 10.3 into 10.410.4-MDEV-29988-merge
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r--sql/sql_table.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index c1f7c7fee7a..725af4adb4e 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -9837,6 +9837,7 @@ bool mysql_alter_table(THD *thd, const LEX_CSTRING *new_db,
if (check_engine(thd, alter_ctx.new_db.str, alter_ctx.new_name.str, create_info))
DBUG_RETURN(true);
+ create_info->vers_check_native();
if (create_info->vers_info.fix_alter_info(thd, alter_info, create_info, table))
{
DBUG_RETURN(true);