summaryrefslogtreecommitdiff
path: root/mysql-test/main/stat_tables_missing.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/main/stat_tables_missing.test')
-rw-r--r--mysql-test/main/stat_tables_missing.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/main/stat_tables_missing.test b/mysql-test/main/stat_tables_missing.test
new file mode 100644
index 00000000000..63ee9d5dde3
--- /dev/null
+++ b/mysql-test/main/stat_tables_missing.test
@@ -0,0 +1,10 @@
+#
+# MDEV-18788 Live upgrade from MySQL 5.6/5.7 to MariaDB 10.4 fails with "Event Scheduler: An error occurred when initializing system tables"
+#
+create table t1 (a int);
+alter table mysql.column_stats rename to mysql.column_stats1;
+flush tables;
+alter table t1 change a b varchar(100);
+show create table t1;
+alter table mysql.column_stats1 rename to mysql.column_stats;
+drop table t1;