1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +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:
Alexander Barkov
2024-05-28 09:08:51 +04:00
parent a2a5ba14a8
commit 36eba98817
1713 changed files with 31563 additions and 30549 deletions

View File

@ -113,7 +113,7 @@ drop table t1;
SET @OLD_SQL_MODE=@@SQL_MODE, @@SQL_MODE='';
show local variables like 'SQL_MODE';
CREATE TABLE t1 (p int not null auto_increment, a varchar(20), primary key(p));
CREATE TABLE t1 (p int not null auto_increment, a varchar(20), primary key(p)) CHARSET=latin1;
INSERT t1 (a) VALUES
('\\'),
('\n'),
@ -157,7 +157,7 @@ DROP TABLE t1;
SET @@SQL_MODE='NO_BACKSLASH_ESCAPES';
show local variables like 'SQL_MODE';
CREATE TABLE t1 (p int not null auto_increment, a varchar(20), primary key(p));
CREATE TABLE t1 (p int not null auto_increment, a varchar(20), primary key(p)) CHARSET=latin1;
INSERT t1 (a) VALUES
('\\'),
('\n'),