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

Can't create GBK table with collation #31308

Closed
Defined2014 opened this issue Jan 5, 2022 · 4 comments · Fixed by #31309
Closed

Can't create GBK table with collation #31308

Defined2014 opened this issue Jan 5, 2022 · 4 comments · Fixed by #31309
Assignees
Labels
affects-5.4 This bug affects 5.4.x versions. severity/critical sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@Defined2014
Copy link
Contributor

Defined2014 commented Jan 5, 2022

Bug Report

I think it's caused by #31208

1. Minimal reproduce step (Required)

create table t2 (a char(20), b char(20) charset utf8, c binary) charset gbk collate gbk_bin;

2. What did you expect to see? (Required)

success

3. What did you see instead (Required)

mysql> create table t2 (a char(20), b char(20) charset utf8, c binary) charset gbk collate gbk_bin;
ERROR 1115 (42000): Unknown character set: 'gbk'

4. What is your TiDB version? (Required)

mysql> SELECT tidb_version();
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| tidb_version()                                                                                                                                                                                                                                                                                                           |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Release Version: v5.5.0-alpha-23-gba5902115
Edition: Community
Git Commit Hash: ba590211544ed93c78e97dde3e1d7a97fba58f86
Git Branch: master
UTC Build Time: 2022-01-05 02:55:05
GoVersion: go1.17.2
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.01 sec)
@Defined2014 Defined2014 added the type/bug The issue is confirmed as a bug. label Jan 5, 2022
@Defined2014
Copy link
Contributor Author

/severity critical

@Defined2014
Copy link
Contributor Author

/affects-5.4

@Defined2014
Copy link
Contributor Author

/assign @xiongjiwei

@github-actions
Copy link

github-actions bot commented Jan 5, 2022

Please check whether the issue should be labeled with 'affects-x.y' or 'fixes-x.y.z', and then remove 'needs-more-info' label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-5.4 This bug affects 5.4.x versions. severity/critical sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants