1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-8334: Rename utf8 to utf8mb3

This patch changes the main name of 3 byte character set from utf8 to
utf8mb3. New old_mode UTF8_IS_UTF8MB3 is added and set TRUE by default,
so that utf8 would mean utf8mb3. If not set, utf8 would mean utf8mb4.
This commit is contained in:
Rucha Deodhar
2021-02-15 01:39:37 +05:30
committed by Oleksandr Byelkin
parent c366845a0b
commit 2fdb556e04
415 changed files with 8048 additions and 7826 deletions

View File

@@ -41,7 +41,7 @@ Table t3
Create Table CREATE TABLE `t3` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3
connection slave;
SHOW CREATE TABLE t1;
Table t1
@@ -60,7 +60,7 @@ Table t3
Create Table CREATE TABLE `t3` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
) ENGINE=MEMORY DEFAULT CHARSET=utf8
) ENGINE=MEMORY DEFAULT CHARSET=utf8mb3
connection master;
CREATE TABLE t5 (b INT, c INT) SELECT * FROM t3;
CREATE TEMPORARY TABLE tt3 (a INT, b INT);
@@ -188,7 +188,7 @@ Table t8
Create Table CREATE TABLE `t8` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
) ENGINE=MRG_MyISAM DEFAULT CHARSET=utf8
) ENGINE=MRG_MyISAM DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE t9;
Table t9
Create Table CREATE TABLE `t9` (
@@ -210,7 +210,7 @@ Table t8
Create Table CREATE TABLE `t8` (
`a` int(11) DEFAULT NULL,
`b` int(11) DEFAULT NULL
) ENGINE=MRG_MyISAM DEFAULT CHARSET=utf8
) ENGINE=MRG_MyISAM DEFAULT CHARSET=utf8mb3
SHOW CREATE TABLE t9;
Table t9
Create Table CREATE TABLE `t9` (