mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	Don't ignore errors from Count_distinct_field::add(), pass them to the caller, so that it could abort the data collection loop.
		
			
				
	
	
		
			11 lines
		
	
	
		
			448 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			448 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
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;
 |