mirror of
				https://github.com/MariaDB/server.git
				synced 2025-11-03 14:33:32 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			450 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			450 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
--source include/have_innodb.inc
 | 
						|
SELECT @@global.innodb_table_locks into @table_locks;
 | 
						|
SET @@global.innodb_table_locks= OFF;
 | 
						|
let $engine= InnoDB;
 | 
						|
let $select= SELECT t1.i,t2.i FROM t1 ignore index (ixi),t2 IGNORE INDEX (ixi) WHERE t1.i<125 AND t2.i=t1.i LOCK IN SHARE MODE;
 | 
						|
let $indext1= CREATE INDEX ixi ON t1 (i);
 | 
						|
let $indext2= CREATE INDEX ixi ON t2 (i);
 | 
						|
--source suite/row_lock/include/row_lock.inc
 | 
						|
SET @@global.innodb_table_locks= @table_locks;
 |