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

Empty GLOBAL VARIABLES version in nighty version #27786

Closed
Ehco1996 opened this issue Sep 3, 2021 · 3 comments · Fixed by #27791
Closed

Empty GLOBAL VARIABLES version in nighty version #27786

Ehco1996 opened this issue Sep 3, 2021 · 3 comments · Fixed by #27791
Assignees
Labels
sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@Ehco1996
Copy link
Contributor

Ehco1996 commented Sep 3, 2021

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

MySQL [(none)]> SHOW GLOBAL VARIABLES LIKE "version";
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| version       |       |
+---------------+-------+
1 row in set, 1 warning (0.00 sec)

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

show normal version like

mysql> SHOW GLOBAL VARIABLES LIKE "version";
+---------------+-------------------------------------------+
| Variable_name | Value                                     |
+---------------+-------------------------------------------+
| version       | 5.7.25-TiDB-v4.0.0-beta.2-2953-gb91aeedab |
+---------------+-------------------------------------------+
1 row in set (0.00 sec)

3. What did you see instead (Required)

empty version

4. What is your TiDB version? (Required)

./tidb-server -V

Release Version: v5.3.0-alpha-7-g4c49e5204
Edition: Community
Git Commit Hash: 4c49e5204fb60b01a76b78619eb6627a1a387a71
Git Branch: master
UTC Build Time: 2021-09-02 12:53:36
GoVersion: go1.16.4
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false

SELECT tidb_version()

| Release Version: v5.3.0-alpha-7-g4c49e5204
Edition: Community
Git Commit Hash: 4c49e5204fb60b01a76b78619eb6627a1a387a71
Git Branch: master
UTC Build Time: 2021-09-02 12:53:36
GoVersion: go1.16.4
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false |
@Ehco1996 Ehco1996 added the type/bug The issue is confirmed as a bug. label Sep 3, 2021
@Defined2014
Copy link
Contributor

I think it's caused by #27731. Sorry, I will fix it.

@Defined2014
Copy link
Contributor

/assign

@github-actions
Copy link

github-actions bot commented Sep 3, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
3 participants