mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
12 lines
360 B
Text
12 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;
|