2014-08-04 21:36:02 +02:00
|
|
|
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;
|
2020-01-09 13:38:48 +01:00
|
|
|
SET @saved_dbug = @@SESSION.debug_dbug;
|
|
|
|
SET debug_dbug='+d,simulate_file_write_error';
|
2019-08-30 15:06:54 +02:00
|
|
|
set @@max_heap_table_size=128*1024;
|
2014-08-04 21:36:02 +02:00
|
|
|
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
|
2020-01-09 13:38:48 +01:00
|
|
|
SET debug_dbug= @saved_dbug;
|
2014-08-04 21:36:02 +02:00
|
|
|
drop table t1;
|