mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 02:46:29 +01:00 
			
		
		
		
	 d2304554ac
			
		
	
	
	d2304554ac
	
	
	
		
			
			Changes: - Fixed that MyISAM and Aria parallel repair works with tmp file limit. This required to add current_thd to all parallel workers and add protection in my_malloc_size_cb_func() and temp_file_size_cb_func() to be able to handle shared THD's. I removed the old code in MyISAM to set current_thd() as only worked when using with virtal indexed columns and I wanted to keep the Aria and MyISAM code identical. Other things: - Improved error messages from Aria parallel repair and create_internal_tmp_table_from_heap().
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			666 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			666 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| create table t1 (a int) engine=myisam data directory='MYSQL_TMP_DIR';
 | |
| insert t1 values (1);
 | |
| repair table t1;
 | |
| Table	Op	Msg_type	Msg_text
 | |
| test.t1	repair	error	20 for record at pos 0
 | |
| test.t1	repair	Error	File 'MYSQL_TMP_DIR/t1.MYD' not found (Errcode: 20 "<errmsg>")
 | |
| test.t1	repair	status	Operation failed
 | |
| drop table t1;
 | |
| create table t2 (a int) engine=aria data directory='MYSQL_TMP_DIR';
 | |
| insert t2 values (1);
 | |
| repair table t2;
 | |
| Table	Op	Msg_type	Msg_text
 | |
| test.t2	repair	error	Got error 20 for record at pos 256 when creating index
 | |
| test.t2	repair	Error	File 'MYSQL_TMP_DIR/t2.MAD' not found (Errcode: 20 "<errmsg>")
 | |
| test.t2	repair	status	Operation failed
 | |
| drop table t2;
 |