-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into issue-29302
- Loading branch information
Showing
112 changed files
with
8,141 additions
and
6,249 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
set @@sql_mode = 'strict_trans_tables'; | ||
drop table if exists t; | ||
create table t (a varchar(255) charset gbk, b varchar(255) charset ascii, c varchar(255) charset utf8); | ||
insert into t values ('中文', 'asdf', '字符集'); | ||
insert into t values ('À', 'ø', '😂'); | ||
Error 1366: Incorrect string value '\xC3\x80' for column 'a' | ||
insert into t values ('中文À中文', 'asdføfdsa', '字符集😂字符集'); | ||
Error 1366: Incorrect string value '\xC3\x80\xE4\xB8\xAD\xE6...' for column 'a' | ||
insert into t values (0x4040ffff, 0x4040ffff, 0x4040ffff); | ||
Error 1366: Incorrect string value '\xFF\xFF' for column 'a' | ||
select * from t; | ||
a b c | ||
中文 asdf 字符集 | ||
set @@sql_mode = ''; | ||
insert into t values ('À', 'ø', '😂'); | ||
insert into t values ('中文À中文', 'asdføfdsa', '字符集😂字符集'); | ||
insert into t values (0x4040ffff, 0x4040ffff, 0x4040ffff); | ||
select * from t; | ||
a b c | ||
中文 asdf 字符集 | ||
? ? ? | ||
中文?中文 asdf?fdsa 字符集?字符集 | ||
@@ @@ @@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
set @@sql_mode = 'strict_trans_tables'; | ||
drop table if exists t; | ||
create table t (a varchar(255) charset gbk, b varchar(255) charset ascii, c varchar(255) charset utf8); | ||
insert into t values ('中文', 'asdf', '字符集'); | ||
-- error 1366: Incorrect string value '\xC3\x80' for column 'a' | ||
insert into t values ('À', 'ø', '😂'); | ||
-- error 1366: Incorrect string value '\xC3\x80\xE4\xB8\xAD\xE6...' for column 'a' | ||
insert into t values ('中文À中文', 'asdføfdsa', '字符集😂字符集'); | ||
-- error 1366: Incorrect string value '\xFF\xFF' for column 'a' | ||
insert into t values (0x4040ffff, 0x4040ffff, 0x4040ffff); | ||
select * from t; | ||
|
||
set @@sql_mode = ''; | ||
insert into t values ('À', 'ø', '😂'); | ||
insert into t values ('中文À中文', 'asdføfdsa', '字符集😂字符集'); | ||
insert into t values (0x4040ffff, 0x4040ffff, 0x4040ffff); | ||
select * from t; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.