mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	LEAK WITH PARTITIONED ARCHIVE TABLES CHECK TABLE against archive table, when file descriptors are exhausted, caused server crash. Archive didn't handle errors when opening data file for CHECK TABLE.
		
			
				
	
	
		
			14 lines
		
	
	
		
			395 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			395 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| --source include/have_archive.inc
 | |
| --source include/have_debug.inc
 | |
| 
 | |
| --echo #
 | |
| --echo # BUG#12402794 - 60976: CRASH, VALGRIND WARNING AND MEMORY LEAK
 | |
| --echo #                       WITH PARTITIONED ARCHIVE TABLES
 | |
| --echo #
 | |
| CREATE TABLE t1(a INT) ENGINE=ARCHIVE;
 | |
| INSERT INTO t1 VALUES(1);
 | |
| SET SESSION debug='d,simulate_archive_open_failure';
 | |
| CHECK TABLE t1;
 | |
| SET SESSION debug=DEFAULT;
 | |
| DROP TABLE t1;
 |