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

select collation(user()) get wrong result. #17115

Closed
wjhuang2016 opened this issue May 12, 2020 · 0 comments · Fixed by #17116
Closed

select collation(user()) get wrong result. #17115

wjhuang2016 opened this issue May 12, 2020 · 0 comments · Fixed by #17116
Assignees
Labels
severity/moderate type/bug The issue is confirmed as a bug.

Comments

@wjhuang2016
Copy link
Member

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. What did you do?

mysql> select collation(user());

+-------------------+
| collation(user()) |
+-------------------+
|                   |
+-------------------+
1 row in set (0.00 sec)

besides:

mysql> select collation(compress('abc'));
+--------------------------------------------------------+
| collation(compress('abc'))                             |
+--------------------------------------------------------+
| 0x62696E617279                                         |
+--------------------------------------------------------+
1 row in set (0.00 sec)

These results are all wrong.

4. What version of TiDB are you using? (tidb-server -V or run select tidb_version(); on TiDB)

master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/moderate type/bug The issue is confirmed as a bug.
Projects
None yet
2 participants