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

show grants should quote database name #46975

Closed
GMHDBJD opened this issue Sep 14, 2023 · 1 comment · Fixed by #46976
Closed

show grants should quote database name #46975

GMHDBJD opened this issue Sep 14, 2023 · 1 comment · Fixed by #46976
Labels
severity/moderate sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@GMHDBJD
Copy link
Contributor

GMHDBJD commented Sep 14, 2023

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

GRANT ALL PRIVILEGES ON `xx.xx`.* TO 'root'@'%';
SHOW GRANTS FOR 'root'@'%';

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

GRANT ALL PRIVILEGES ON `xx.xx`.* TO 'root'@'%'

3. What did you see instead (Required)

GRANT ALL PRIVILEGES ON xx.xx.* TO 'root'@'%'

4. What is your TiDB version? (Required)

master

@djshow832
Copy link
Contributor

This issue indeed affects more than one version, but these labels just make bug triage duplicated. I'll remove them.

@djshow832 djshow832 removed the affects-4.0 This bug affects 4.0.x versions. label Nov 23, 2023
@djshow832 djshow832 removed affects-5.0 This bug affects 5.0.x versions. affects-5.1 This bug affects 5.1.x versions. affects-5.2 This bug affects 5.2.x versions. affects-5.3 This bug affects 5.3.x versions. affects-5.4 This bug affects 5.4.x versions. affects-6.0 affects-6.1 affects-6.2 affects-6.3 affects-6.4 affects-6.5 affects-6.6 affects-7.0 affects-7.1 affects-7.2 affects-7.3 labels Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/moderate sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants