mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-04 12:56:14 +01:00 
			
		
		
		
	Bug was that storage_engine::info() was called with not opened table in ha_partition::info(). Fixed by ensuring that we are using an opened table.
		
			
				
	
	
		
			4 lines
		
	
	
	
		
			125 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			4 lines
		
	
	
	
		
			125 B
		
	
	
	
		
			Text
		
	
	
	
	
	
CREATE TABLE t (a INT, KEY(a)) ENGINE=Aria PARTITION BY KEY(a) PARTITIONS 2;
 | 
						|
SELECT * FROM t PARTITION (p1);
 | 
						|
a
 | 
						|
DROP TABLE t;
 |