summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/stat_tables_missing.result
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:34 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 18:00:34 +0000
commit3f619478f796eddbba6e39502fe941b285dd97b1 (patch)
treee2c7b5777f728320e5b5542b6213fd3591ba51e2 /mysql-test/main/stat_tables_missing.result
parentInitial commit. (diff)
downloadmariadb-3f619478f796eddbba6e39502fe941b285dd97b1.tar.xz
mariadb-3f619478f796eddbba6e39502fe941b285dd97b1.zip
Adding upstream version 1:10.11.6.upstream/1%10.11.6upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mysql-test/main/stat_tables_missing.result')
-rw-r--r--mysql-test/main/stat_tables_missing.result14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/main/stat_tables_missing.result b/mysql-test/main/stat_tables_missing.result
new file mode 100644
index 00000000..f7a1fcfb
--- /dev/null
+++ b/mysql-test/main/stat_tables_missing.result
@@ -0,0 +1,14 @@
+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);
+Warnings:
+Warning 1177 Got error 1146 when trying to open statistics table `table_stats` for updating statistics
+Warning 1177 Got error 1146 when trying to open statistics table `table_stats` for updating statistics
+show create table t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `b` varchar(100) DEFAULT NULL
+) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
+alter table mysql.column_stats1 rename to mysql.column_stats;
+drop table t1;