summaryrefslogtreecommitdiffstats
path: root/mysql-test/main/stat_tables-enospc.result
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:24:36 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:24:36 +0000
commit06eaf7232e9a920468c0f8d74dcf2fe8b555501c (patch)
treee2c7b5777f728320e5b5542b6213fd3591ba51e2 /mysql-test/main/stat_tables-enospc.result
parentInitial commit. (diff)
downloadmariadb-06eaf7232e9a920468c0f8d74dcf2fe8b555501c.tar.xz
mariadb-06eaf7232e9a920468c0f8d74dcf2fe8b555501c.zip
Adding upstream version 1:10.11.6.upstream/1%10.11.6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mysql-test/main/stat_tables-enospc.result')
-rw-r--r--mysql-test/main/stat_tables-enospc.result12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/main/stat_tables-enospc.result b/mysql-test/main/stat_tables-enospc.result
new file mode 100644
index 00000000..9ac24a2a
--- /dev/null
+++ b/mysql-test/main/stat_tables-enospc.result
@@ -0,0 +1,12 @@
+call mtr.add_suppression("No space left on device");
+create table t1 (a varchar(255), b varchar(255), c varchar(255));
+set use_stat_tables=PREFERABLY, optimizer_use_condition_selectivity=3;
+SET @saved_dbug = @@SESSION.debug_dbug;
+SET debug_dbug='+d,simulate_file_write_error';
+set @@max_heap_table_size=128*1024;
+analyze table t1;
+Table Op Msg_type Msg_text
+test.t1 analyze Error Error writing file 'tmp-file' (Errcode: 28 "No space left on device")
+test.t1 analyze status Operation failed
+SET debug_dbug= @saved_dbug;
+drop table t1;