1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00
Files
mariadb/mysql-test/suite/engines/funcs/r/ta_string_to_null.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

170 lines
4.1 KiB
Plaintext

DROP TABLE IF EXISTS t2;
CREATE TABLE t2(c1 CHAR(200) NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`c1` char(200) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t2 MODIFY c1 CHAR(200) NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`c1` char(200) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 VARCHAR(200) NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`c1` varchar(200) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t2 MODIFY c1 VARCHAR(200) NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`c1` varchar(200) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 BINARY(200) NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`c1` binary(200) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t2 MODIFY c1 BINARY(200) NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`c1` binary(200) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 VARBINARY(200) NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`c1` varbinary(200) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t2 MODIFY c1 VARBINARY(200) NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`c1` varbinary(200) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 CHAR(200) NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`c1` char(200) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t2 CHANGE c1 c1 CHAR(200) NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`c1` char(200) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 VARCHAR(200) NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`c1` varchar(200) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t2 CHANGE c1 c1 VARCHAR(200) NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`c1` varchar(200) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 BINARY(200) NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`c1` binary(200) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t2 CHANGE c1 c1 BINARY(200) NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`c1` binary(200) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t2;
SHOW TABLES;
Tables_in_test
CREATE TABLE t2(c1 VARBINARY(200) NOT NULL);
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`c1` varbinary(200) NOT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
ALTER TABLE t2 CHANGE c1 c1 VARBINARY(200) NULL;
SHOW TABLES;
Tables_in_test
t2
SHOW CREATE TABLE t2;
Table Create Table
t2 CREATE TABLE `t2` (
`c1` varbinary(200) DEFAULT NULL
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t2;
SHOW TABLES;
Tables_in_test