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:
@ -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'),
|
||||
|
Reference in New Issue
Block a user