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 debug_dbug='+d,simulate_file_write_error';
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='';
drop table t1;
