mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
18 lines
795 B
Text
18 lines
795 B
Text
SHOW CREATE TABLE INFORMATION_SCHEMA.INNODB_LOCKS;
|
|
Table Create Table
|
|
INNODB_LOCKS CREATE TEMPORARY TABLE `INNODB_LOCKS` (
|
|
`lock_id` varchar(81) NOT NULL,
|
|
`lock_trx_id` bigint(21) unsigned NOT NULL,
|
|
`lock_mode` enum('S','S,GAP','X','X,GAP','IS','IS,GAP','IX','IX,GAP','AUTO_INC') NOT NULL,
|
|
`lock_type` enum('RECORD','TABLE') NOT NULL,
|
|
`lock_table` varchar(1024) NOT NULL,
|
|
`lock_index` varchar(1024),
|
|
`lock_space` int(11) unsigned,
|
|
`lock_page` int(11) unsigned,
|
|
`lock_rec` int(11) unsigned,
|
|
`lock_data` varchar(8192)
|
|
) ENGINE=MEMORY DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci
|
|
CREATE TEMPORARY TABLE t1 LIKE INFORMATION_SCHEMA.INNODB_LOCKS;
|
|
DROP TEMPORARY TABLE t1;
|
|
CREATE TEMPORARY TABLE t1 AS SELECT * FROM INFORMATION_SCHEMA.INNODB_LOCKS LIMIT 0;
|
|
DROP TEMPORARY TABLE t1;
|