1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00
Files
mariadb/mysql-test/suite/engines/funcs/r/ta_drop_pk_autoincrement.result
Alexander Barkov 36eba98817 MDEV-19123 Change default charset from latin1 to utf8mb4
Changing the default server character set from latin1 to utf8mb4.
2024-07-11 10:21:07 +04:00

266 lines
6.9 KiB
Plaintext

DROP TABLE IF EXISTS t8;
CREATE TABLE t8(c1 TINYINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` tinyint(4) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t8 MODIFY c1 TINYINT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` tinyint(4) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` smallint(6) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t8 MODIFY c1 SMALLINT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` smallint(6) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 MEDIUMINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` mediumint(9) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t8 MODIFY c1 MEDIUMINT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` mediumint(9) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t8 MODIFY c1 INT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` int(11) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t8 MODIFY c1 INTEGER NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` int(11) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` bigint(20) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t8 MODIFY c1 BIGINT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` bigint(20) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 TINYINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` tinyint(4) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t8 CHANGE c1 c1 TINYINT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` tinyint(4) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 SMALLINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` smallint(6) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t8 CHANGE c1 c1 SMALLINT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` smallint(6) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 MEDIUMINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` mediumint(9) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t8 CHANGE c1 c1 MEDIUMINT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` mediumint(9) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t8 CHANGE c1 c1 INT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` int(11) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t8 CHANGE c1 c1 INTEGER NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` int(11) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test
CREATE TABLE t8(c1 BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY);
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` bigint(20) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t8 CHANGE c1 c1 BIGINT NOT NULL, DROP PRIMARY KEY;
SHOW TABLES;
Tables_in_test
t8
SHOW CREATE TABLE t8;
Table Create Table
t8 CREATE TABLE `t8` (
`c1` bigint(20) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t8;
SHOW TABLES;
Tables_in_test