mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-19123 Change default charset from latin1 to utf8mb4
Changing the default server character set from latin1 to utf8mb4.
This commit is contained in:
@@ -9,7 +9,7 @@ Table Create Table
|
||||
t3 CREATE TABLE `t3` (
|
||||
`c1` char(50) DEFAULT NULL,
|
||||
UNIQUE KEY `i1` (`c1`(10))
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
||||
DROP TABLE t3;
|
||||
SHOW TABLES;
|
||||
Tables_in_test
|
||||
@@ -23,7 +23,7 @@ Table Create Table
|
||||
t3 CREATE TABLE `t3` (
|
||||
`c1` varchar(50) DEFAULT NULL,
|
||||
UNIQUE KEY `i1` (`c1`(10))
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
||||
DROP TABLE t3;
|
||||
SHOW TABLES;
|
||||
Tables_in_test
|
||||
@@ -37,7 +37,7 @@ Table Create Table
|
||||
t3 CREATE TABLE `t3` (
|
||||
`c1` binary(50) DEFAULT NULL,
|
||||
UNIQUE KEY `i1` (`c1`(10))
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
||||
DROP TABLE t3;
|
||||
SHOW TABLES;
|
||||
Tables_in_test
|
||||
@@ -51,7 +51,7 @@ Table Create Table
|
||||
t3 CREATE TABLE `t3` (
|
||||
`c1` varbinary(50) DEFAULT NULL,
|
||||
UNIQUE KEY `i1` (`c1`(10))
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
||||
DROP TABLE t3;
|
||||
SHOW TABLES;
|
||||
Tables_in_test
|
||||
@@ -65,7 +65,7 @@ Table Create Table
|
||||
t3 CREATE TABLE `t3` (
|
||||
`c1` char(50) NOT NULL,
|
||||
UNIQUE KEY `i1` (`c1`(10))
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
||||
DROP TABLE t3;
|
||||
SHOW TABLES;
|
||||
Tables_in_test
|
||||
@@ -79,7 +79,7 @@ Table Create Table
|
||||
t3 CREATE TABLE `t3` (
|
||||
`c1` varchar(50) NOT NULL,
|
||||
UNIQUE KEY `i1` (`c1`(10))
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
||||
DROP TABLE t3;
|
||||
SHOW TABLES;
|
||||
Tables_in_test
|
||||
@@ -93,7 +93,7 @@ Table Create Table
|
||||
t3 CREATE TABLE `t3` (
|
||||
`c1` binary(50) NOT NULL,
|
||||
UNIQUE KEY `i1` (`c1`(10))
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
||||
DROP TABLE t3;
|
||||
SHOW TABLES;
|
||||
Tables_in_test
|
||||
@@ -107,7 +107,7 @@ Table Create Table
|
||||
t3 CREATE TABLE `t3` (
|
||||
`c1` varbinary(50) NOT NULL,
|
||||
UNIQUE KEY `i1` (`c1`(10))
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
||||
) ENGINE=ENGINE DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_uca1400_ai_ci
|
||||
DROP TABLE t3;
|
||||
SHOW TABLES;
|
||||
Tables_in_test
|
||||
|
Reference in New Issue
Block a user