summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2023-01-04 14:52:25 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2023-01-04 14:52:25 +0200
commit8356fb68c366b7f515f9060d964ee598653756a6 (patch)
tree310d7419ad32f74ad29b3da87dd1a21ab4d39dd7 /sql/sql_table.cc
parentb5a54e8a9305885e2850d6dabde08ad369094ff3 (diff)
parentfe38d7cad4fab33beba90eefaea9e9d4aef06a7c (diff)
downloadmariadb-git-8356fb68c366b7f515f9060d964ee598653756a6.tar.gz
Merge 10.6 into 10.7
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 aec1f995f69..0a6b41317aa 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -9848,6 +9848,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);