mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 02:46:29 +01:00 
			
		
		
		
	 3d241eb948
			
		
	
	
	3d241eb948
	
	
	
		
			
			This patch fixes the following issues in Aria error reporting in case of read errors & crashed tables: - Added the table name to the most error messages, including in case of read errors or when encrypting/decrypting a table. The format for error messages was changed sligtly to accomodate logging of errors from lower level routines. - If we got an read error from storage (hard disk, ssd, S3 etc) we only reported 'table is crashed'. Now the error number from the storage is reported. - Added checking of read failure from records_in_range() - Calls to ma_set_fatal_error() did not inform the SQL level of errors (to not spam the user with multiple error messages). Now the first error message and any fatal error messages are reported to the user.
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			382 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			382 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| call mtr.add_suppression("mysql.user");
 | |
| # switching from mysql.global_priv to mysql.user
 | |
| flush tables;
 | |
| flush privileges;
 | |
| Warnings:
 | |
| Error	145	Got error '145 "Table was marked as crashed and should be repaired"' for './mysql/user'
 | |
| Warning	1034	12544 clients are using or haven't closed the table properly
 | |
| Note	1034	Table is fixed
 | |
| # switching back from mysql.user to mysql.global_priv
 |