mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
13 lines
360 B
Text
13 lines
360 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;
|
||
|
SET lock_wait_timeout = 1;
|
||
|
LOCK TABLES t1 READ LOCAL;
|
||
|
UNLOCK TABLES;
|
||
|
UNLOCK TABLES;
|
||
|
LOCK TABLES t1 READ LOCAL;
|
||
|
LOCK TABLES t1 WRITE CONCURRENT, t1 AS t2 READ;
|
||
|
UNLOCK TABLES;
|
||
|
UNLOCK TABLES;
|
||
|
DROP TABLE t1;
|