mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 15:50:51 +03:00 
			
		
		
		
	+ Fix for Bug#43114 wait_until_count_sessions too restrictive, random PB failures + Removal of a lot of other weaknesses found + modifications according to review
		
			
				
	
	
		
			13 lines
		
	
	
		
			384 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			384 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| SET @old_concurrent_insert= @@global.concurrent_insert;
 | |
| SET @@global.concurrent_insert= 0;
 | |
| DROP TABLE IF EXISTS t1;
 | |
| CREATE TABLE t1 (kill_id INT);
 | |
| INSERT INTO t1 VALUES(connection_id());
 | |
| FLUSH TABLES WITH READ LOCK;
 | |
| SELECT ((@id := kill_id) - kill_id) FROM t1;
 | |
| ((@id := kill_id) - kill_id)
 | |
| 0
 | |
| KILL CONNECTION @id;
 | |
| DROP TABLE t1;
 | |
| SET @@global.concurrent_insert= @old_concurrent_insert;
 |