Closed harry1129 closed 5 days ago
Dashboard slow query page formatting SQL text with "hexadecimal literals" is incorrect
Execute sql
select HEX('TiDB'),X'54694442',0x54694442,sleep(1);
Query Dashboard slow query page.
Dashboard slow query page There's an extra space
SELECT HEX('TiDB'), X '54694442', 0x54694442, sleep(1);
SELECT HEX('TiDB'), X'54694442', 0x54694442, sleep(1);
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
dup with https://github.com/pingcap/tidb/issues/52973
Bug Report
Dashboard slow query page formatting SQL text with "hexadecimal literals" is incorrect
1. Minimal reproduce step (Required)
Execute sql
Query Dashboard slow query page.
2. What did you expect to see? (Required)
Dashboard slow query page There's an extra space
3. What did you see instead (Required)
4. What is your TiDB version? (Required)