1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

SQL: lower priority of warning in vers_part_rotate() for ALTER [fixes #446]

This commit is contained in:
Aleksey Midenkov
2018-01-06 11:56:38 +03:00
parent daf883f95c
commit 912769b7dc
5 changed files with 33 additions and 3 deletions

View File

@ -9780,6 +9780,7 @@ bool mysql_alter_table(THD *thd, const char *new_db, const char *new_name,
}
if (!new_table)
goto err_new_table_cleanup;
new_table->s->orig_table_name= table->s->table_name.str;
new_versioned= new_table->versioned();
/*
Note: In case of MERGE table, we do not attach children. We do not