mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 18:41:56 +01:00
daf28db027
- Adding a way to define I_S columns without DEFAULT. - Fixing all ENUM columns in I_S.INNODB* table definitions to have no DEFAULT.
18 lines
868 B
Text
18 lines
868 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 DEFAULT '',
|
|
`lock_trx_id` bigint(21) unsigned NOT NULL DEFAULT 0,
|
|
`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 DEFAULT '',
|
|
`lock_index` varchar(1024) DEFAULT NULL,
|
|
`lock_space` int(11) unsigned DEFAULT NULL,
|
|
`lock_page` int(11) unsigned DEFAULT NULL,
|
|
`lock_rec` int(11) unsigned DEFAULT NULL,
|
|
`lock_data` varchar(8192) DEFAULT NULL
|
|
) ENGINE=MEMORY DEFAULT CHARSET=utf8
|
|
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;
|