mariadb/mysql-test/suite/innodb_i_s/innodb_locks.result
Alexander Barkov daf28db027 MDEV-21537 InnoDB INFORMATION_SCHEMA tables fail to define DEFAULT for ENUM NOT NULL
- Adding a way to define I_S columns without DEFAULT.
- Fixing all ENUM columns in I_S.INNODB* table definitions to have no DEFAULT.
2020-01-22 08:04:53 +04:00

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;