summaryrefslogtreecommitdiff
path: root/mysql-test/main/alter_table.result
diff options
context:
space:
mode:
authorAleksey Midenkov <midenok@gmail.com>2021-10-11 15:28:00 +0300
committerSergei Golubchik <serg@mariadb.org>2021-10-26 17:07:46 +0200
commitb15a5f6fff8f66a3d51e483785461ab442df0e3f (patch)
tree4bc5e25ea849c4c26aeb2bac15c03d3dbccb1536 /mysql-test/main/alter_table.result
parent69724805bc4b61cdf8460d4a7ec0acf71f579396 (diff)
downloadmariadb-git-b15a5f6fff8f66a3d51e483785461ab442df0e3f.tar.gz
MDEV-26767 Server crashes when rename table and alter storage engine
Wrong assertion leftover removed. m_sql_cmd can be allocated by any ALTER subcommand and before allocation it is checked for NULL first.
Diffstat (limited to 'mysql-test/main/alter_table.result')
-rw-r--r--mysql-test/main/alter_table.result5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/main/alter_table.result b/mysql-test/main/alter_table.result
index a2830b95294..bef7f393d1d 100644
--- a/mysql-test/main/alter_table.result
+++ b/mysql-test/main/alter_table.result
@@ -3375,3 +3375,8 @@ drop table t1;
#
# End of 10.5 tests
#
+#
+# MDEV-26767 Server crashes when rename table and alter storage engine
+#
+alter table txxx engine=innodb, rename to tyyy;
+ERROR 42S02: Table 'test.txxx' doesn't exist