Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parser, ddl: support decoding binary literal in set/enum #35822

Merged
merged 9 commits into from
Jun 30, 2022
Prev Previous commit
Next Next commit
explain_test: set sql mode to default before test
  • Loading branch information
tangenta committed Jun 30, 2022
commit d47996a8c0e53d12dca4729c9633c198fb79dc07
1 change: 1 addition & 0 deletions cmd/explaintest/r/new_character_set_invalid.result
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ a b c
? ? ?
中文?中文 asdf?fdsa 字符集?字符集
@@ @@ @@
set @@sql_mode = default;
drop table t;
create table t(f set(0xD2BB, 0xC8FD), e enum(0xBAEC,0x6A59));
show create table t;
Expand Down
1 change: 1 addition & 0 deletions cmd/explaintest/t/new_character_set_invalid.test
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ insert into t values ('中文À中文', 'asdføfdsa', '字符集😂字符集');
insert into t values (0x4040ffff, 0x4040ffff, 0x4040ffff);
select * from t;

set @@sql_mode = default;
drop table t;
create table t(f set(0xD2BB, 0xC8FD), e enum(0xBAEC,0x6A59));
show create table t;
Expand Down