You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The result is null when we execute command "show variables like 'tidb_enable_window_function'" and "show variables like 'tidb_enable_mutation_checker'"';
#34060
Closed
sylar8023baby opened this issue
Apr 18, 2022
· 4 comments
Bug Report
1. Minimal reproduce step (Required)
// when we execute command "show variables like ..." ,the result is "Empty set"
mysql> show variables like 'tidb_txn_assertion_level';
Empty set (0.01 sec)
mysql> show variables like '%tidb_enable_mutation_checker%';
Empty set (0.01 sec)
// when we execute command "select @@... , the result is seemd right.
mysql> select @@tidb_txn_assertion_level;
+----------------------------+
| @@tidb_txn_assertion_level |
+----------------------------+
| FAST |
+----------------------------+
1 row in set (0.00 sec)
mysql> select @@tidb_enable_mutation_checker;
+--------------------------------+
| @@tidb_enable_mutation_checker |
+--------------------------------+
| 1 |
+--------------------------------+
1 row in set (0.00 sec)
mysql>
2. What did you expect to see? (Required)
It should return system variables where we are selecting.
3. What did you see instead (Required)
It actully returns "Empty set ".
4. What is your TiDB version? (Required)
// tidb version
mysql> select tidb_version();
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------+
| tidb_version()
|
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------+
| Release Version: v6.0.0
Edition: Community
Git Commit Hash: 36a9810
Git Branch: heads/refs/tags/v6.0.0
UTC Build Time: 2022-03-31 10:33:28
GoVersion: go1.18
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false |
+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------+
The text was updated successfully, but these errors were encountered: