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

charset: malformed values for latin1 charset #13870

Closed
bb7133 opened this issue Dec 3, 2019 · 2 comments
Closed

charset: malformed values for latin1 charset #13870

bb7133 opened this issue Dec 3, 2019 · 2 comments
Assignees
Labels
component/charset duplicate Issues or pull requests already exists. severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@bb7133
Copy link
Member

bb7133 commented Dec 3, 2019

Bug Report

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
mysql> create table tc(a varchar(20) charset latin1);
Query OK, 0 rows affected (0.02 sec)

mysql> insert into tc values (BINARY(X'A5'));
Query OK, 1 row affected (0.01 sec)

mysql> select * from tc;
  1. What did you expect to see?
mysql> select * from tc;                                                                                               +------+
| a    |
+------+
| ¥    |
+------+
  1. What did you see instead?
tidb> select * from tc;                                                                                                +------+
| a    |
+------+
| �     |
+------+
  1. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?
    This bug exists in all TiDB versions.
@bb7133
Copy link
Member Author

bb7133 commented Nov 16, 2020

Close this issue since it is actually duplicated with #18955.

@bb7133 bb7133 closed this as completed Nov 16, 2020
@ti-srebot
Copy link
Contributor

Please edit this comment or add a new comment to complete the following information

Not a bug

  1. Remove the 'type/bug' label
  2. Add notes to indicate why it is not a bug

Duplicate bug

  1. Add the 'type/duplicate' label
  2. Add the link to the original bug

Bug

Note: Make Sure that 'component', and 'severity' labels are added
Example for how to fill out the template: #20100

1. Root Cause Analysis (RCA) (optional)

2. Symptom (optional)

3. All Trigger Conditions (optional)

4. Workaround (optional)

5. Affected versions

6. Fixed versions

@bb7133 bb7133 added the duplicate Issues or pull requests already exists. label Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/charset duplicate Issues or pull requests already exists. severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

6 participants