mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 02:46:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			503 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			503 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| SET lock_wait_timeout = 1;
 | |
| CREATE TABLE t1 (a <INT_COLUMN>) ENGINE=<STORAGE_ENGINE> <CUSTOM_TABLE_OPTIONS>;
 | |
| LOCK TABLES t1 WRITE CONCURRENT, t1 AS t2 READ;
 | |
| connect  con1,localhost,root,,;
 | |
| SET lock_wait_timeout = 1;
 | |
| LOCK TABLES t1 READ LOCAL;
 | |
| UNLOCK TABLES;
 | |
| connection default;
 | |
| UNLOCK TABLES;
 | |
| connection con1;
 | |
| LOCK TABLES t1 READ LOCAL;
 | |
| connection default;
 | |
| LOCK TABLES t1 WRITE CONCURRENT, t1 AS t2 READ;
 | |
| UNLOCK TABLES;
 | |
| connection con1;
 | |
| UNLOCK TABLES;
 | |
| disconnect con1;
 | |
| connection default;
 | |
| DROP TABLE t1;
 | 
