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

Dashboard slow query page formatting SQL text with "hexadecimal literals" is incorrect #52974

Closed
harry1129 opened this issue Apr 29, 2024 · 1 comment
Labels
severity/minor sig/diagnosis SIG: Diagnosis type/bug This issue is a bug.

Comments

@harry1129
Copy link

Bug Report

Dashboard slow query page formatting SQL text with "hexadecimal literals" is incorrect

1. Minimal reproduce step (Required)

  1. Execute sql
select HEX('TiDB'),X'54694442',0x54694442,sleep(1);
  1. Query Dashboard slow query page.

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

Dashboard slow query page
There's an extra space

SELECT
  HEX('TiDB'),
  X '54694442',
  0x54694442,
  sleep(1);

3. What did you see instead (Required)

SELECT
  HEX('TiDB'),
  X'54694442',
  0x54694442,
  sleep(1);

4. What is your TiDB version? (Required)

Release Version: v8.0.0
Edition: Community
Git Commit Hash: 8ba1fa452b1ccdbfb85879ea94b9254aabba2916
Git Branch: HEAD
UTC Build Time: 2024-03-28 14:22:34
GoVersion: go1.21.6
Race Enabled: false
Check Table Before Drop: false
Store: tikv
@harry1129 harry1129 added the type/bug This issue is a bug. label Apr 29, 2024
@Defined2014
Copy link
Contributor

dup with #52973

@Defined2014 Defined2014 closed this as not planned Won't fix, can't repro, duplicate, stale May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/minor sig/diagnosis SIG: Diagnosis type/bug This issue is a bug.
Projects
None yet
Development

No branches or pull requests

3 participants