mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 02:46:29 +01:00 
			
		
		
		
	 ab3ec013c4
			
		
	
	
	ab3ec013c4
	
	
	
		
			
			Problem was that in ALTER TABLE execution variables were set to 1 even when wsrep_auto_increment_control is OFF. We should set them only when wsrep_auto_increment_control is ON.
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			273 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			273 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| --source include/galera_cluster.inc
 | |
| 
 | |
| show variables like 'auto_increment%';
 | |
| create table t4 (c1 int primary key auto_increment) engine=innodb;
 | |
| show variables like 'auto_increment%';
 | |
| alter table t4 add (c2 varchar(50));
 | |
| show variables like 'auto_increment%';
 | |
| DROP TABLE t4;
 |