mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 20:36:16 +01:00 
			
		
		
		
	row_search_for_mysql(): Acquire an intention lock on the table before locking the first record gap.
		
			
				
	
	
		
			4 lines
		
	
	
	
		
			168 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			4 lines
		
	
	
	
		
			168 B
		
	
	
	
		
			Text
		
	
	
	
	
	
CREATE TABLE bug56716 (a INT PRIMARY KEY,b INT,c INT,INDEX(b)) ENGINE=InnoDB;
 | 
						|
SELECT * FROM bug56716 WHERE b<=42 ORDER BY b DESC FOR UPDATE;
 | 
						|
a	b	c
 | 
						|
DROP TABLE bug56716;
 |