mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-04 12:56:14 +01:00 
			
		
		
		
	This happened when trying to PARTITION a SEQUENCE table Problem was that wrong function was used to get engine name Signed-off-by: Monty <monty@mariadb.org>
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			283 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			283 B
		
	
	
	
		
			Text
		
	
	
	
	
	
--source include/have_partition.inc
 | 
						|
--source include/have_sequence.inc
 | 
						|
 | 
						|
--echo #
 | 
						|
--echo # MDEV-13715 ha_partition::engine_name() segfault fix
 | 
						|
--echo #
 | 
						|
 | 
						|
create sequence s;
 | 
						|
--error ER_ILLEGAL_HA_CREATE_OPTION
 | 
						|
alter table s partition by hash(start_value) partitions 2;
 | 
						|
drop sequence s;
 |