1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-11 05:52:26 +03:00
Files
mariadb/mysql-test/suite/engines/funcs/r/tc_column_key_length.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

54 lines
1.2 KiB
Plaintext

DROP TABLE IF EXISTS t9;
CREATE TABLE t9(c1 CHAR(10) NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` char(10) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 VARCHAR(10) NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` varchar(10) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 BINARY(10) NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` binary(10) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test
CREATE TABLE t9(c1 VARBINARY(10) NOT NULL KEY);
SHOW TABLES;
Tables_in_test
t9
SHOW CREATE TABLE t9;
Table Create Table
t9 CREATE TABLE `t9` (
`c1` varbinary(10) NOT NULL,
PRIMARY KEY (`c1`)
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
DROP TABLE t9;
SHOW TABLES;
Tables_in_test