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

binary literal in gbk columns is not handled #30798

Closed
xiongjiwei opened this issue Dec 16, 2021 · 2 comments · Fixed by #31196
Closed

binary literal in gbk columns is not handled #30798

xiongjiwei opened this issue Dec 16, 2021 · 2 comments · Fixed by #31196
Assignees
Labels
severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@xiongjiwei
Copy link
Contributor

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

create table t(a char(10) charset gbk default 0xd2bb);

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

no error

3. What did you see instead (Required)

ERROR 1067 (42000): Invalid default value for 'a'

4. What is your TiDB version? (Required)

@github-actions
Copy link

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

@tangenta tangenta removed needs-more-info feature/developing the related feature is in development labels Dec 31, 2021
@tangenta
Copy link
Contributor

No affecting version because it is a developing feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/major 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.

2 participants