mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	--disable_reconnect and --enable_reconnect to mysqltest so that it can be tested properly. (Bug #8866)
		
			
				
	
	
		
			20 lines
		
	
	
		
			393 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			393 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
drop table if exists t1;
 | 
						|
create table t1 (kill_id int);
 | 
						|
insert into t1 values(connection_id());
 | 
						|
select ((@id := kill_id) - kill_id) from t1;
 | 
						|
((@id := kill_id) - kill_id)
 | 
						|
0
 | 
						|
kill @id;
 | 
						|
select 1;
 | 
						|
ERROR HY000: MySQL server has gone away
 | 
						|
select ((@id := kill_id) - kill_id) from t1;
 | 
						|
((@id := kill_id) - kill_id)
 | 
						|
0
 | 
						|
select @id != connection_id();
 | 
						|
@id != connection_id()
 | 
						|
1
 | 
						|
select 4;
 | 
						|
4
 | 
						|
4
 | 
						|
drop table t1;
 |