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

set character_set_results = null seems not work #7284

Closed
jackysp opened this issue Aug 6, 2018 · 0 comments · Fixed by #7353
Closed

set character_set_results = null seems not work #7284

jackysp opened this issue Aug 6, 2018 · 0 comments · Fixed by #7353

Comments

@jackysp
Copy link
Member

jackysp commented Aug 6, 2018

Please answer these questions before submitting your issue. Thanks!

  1. What did you do?
    If possible, provide a recipe for reproducing the error.
set character_set_results = null;
show variables where variable_name='character_set_results';
  1. What did you expect to see?
mysql> set character_set_results = null;
Query OK, 0 rows affected (0.03 sec)

mysql> show variables where variable_name='character_set_results';
+-----------------------+-------+
| Variable_name         | Value |
+-----------------------+-------+
| character_set_results |       |
+-----------------------+-------+
1 row in set (0.11 sec)
  1. What did you see instead?
mysql> set character_set_results = null;
Query OK, 0 rows affected (0.00 sec)

mysql> show variables where variable_name='character_set_results';
+-----------------------+--------+
| Variable_name         | Value  |
+-----------------------+--------+
| character_set_results | latin1 |
+-----------------------+--------+
1 row in set (0.00 sec)
  1. What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?
    Git Commit Hash: 7e48ab1
    Git Branch: master
    UTC Build Time: 2018-08-06 08:15:07
    GoVersion: go version go1.10.3 darwin/amd64
    Race Enabled: false
    TiKV Min Version: 2.1.0-alpha.1-ff3dd160846b7d1aed9079c389fc188f7f5ea13e
@jackysp jackysp added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Aug 6, 2018
@imtbkcat imtbkcat removed the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Aug 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants