1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-07 04:01:59 +03:00
mariadb/mysql-test/suite/engines/funcs/r/tc_column_unique_key.result
Omer BarNir c92b9b7315 Test suites for engine testing, moved from test-extra so will be available
for general use.


mysql-test/Makefile.am:
  Adding directories of additional test suites
mysql-test/mysql-stress-test.pl:
  Adding check for additional errors checking during test run
2010-03-17 23:42:07 -07:00

262 lines
5.5 KiB
Plaintext

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