mariadb/mysql-test/suite/engines/funcs/r/tc_column_key.result
2022-09-21 10:59:56 +03:00

261 lines
5.7 KiB
Text

DROP TABLE IF EXISTS t9;
CREATE TABLE t9(c1 BIT NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` bit(1) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 TINYINT NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` tinyint(4) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 SMALLINT NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` smallint(6) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 MEDIUMINT NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` mediumint(9) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 INT NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` int(11) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 INTEGER NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` int(11) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 BIGINT NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` bigint(20) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 DECIMAL NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` decimal(10,0) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 DEC NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` decimal(10,0) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 FIXED NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` decimal(10,0) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 NUMERIC NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` decimal(10,0) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 DOUBLE NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` double NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 REAL NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` double NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 DOUBLE PRECISION NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` double NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 FLOAT NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` float NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 DATE NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` date NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 TIME NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` time NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 TIMESTAMP NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` timestamp NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 DATETIME NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` datetime NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 YEAR NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` year(4) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test