We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please answer these questions before submitting your issue. Thanks!
CREATE TABLE tableA ( columnA VARCHAR(255), columnB DATETIME, columnC VARCHAR(255) )`
plan replayer dump explain SELECT * from tableA where SUBSTRING_INDEX(tableA.columnC, '_', 1) = tableA.columnA
plan_replayer_status
select * from mysql.plan_replayer_status where sql_digest = ? and plan_digest = ? and origin_sql is not null
We can find SELECT * from tableA where SUBSTRING_INDEX(tableA.columnC, '_', 1) = tableA.columnA in the records.
SELECT * from tableA where SUBSTRING_INDEX(tableA.columnC, '_', 1) = tableA.columnA
TiDB ignored it.
mysql> select tidb_version(); +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | tidb_version() | +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Release Version: v7.1.0 Edition: Community Git Commit Hash: 635a4362235e8a3c0043542e629532e3c7bb2756 Git Branch: heads/refs/tags/v7.1.0 UTC Build Time: 2023-05-30 10:50:03 GoVersion: go1.20.3 Race Enabled: false TiKV Min Version: 6.2.0-alpha Check Table Before Drop: false Store: tikv | +----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ 1 row in set (0.00 sec)
The text was updated successfully, but these errors were encountered:
domain: do not use fmt.Sprint to format SQL (#49620)
11aefee
close #49619
domain: do not use fmt.Sprint to format SQL (#49620) (#49649)
ebc4107
domain: do not use fmt.Sprint to format SQL (#49620) (#49657)
608c25e
hi-rustin
Successfully merging a pull request may close this issue.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
plan_replayer_status
table:select * from mysql.plan_replayer_status where sql_digest = ? and plan_digest = ? and origin_sql is not null
2. What did you expect to see? (Required)
We can find
SELECT * from tableA where SUBSTRING_INDEX(tableA.columnC, '_', 1) = tableA.columnA
in the records.3. What did you see instead (Required)
TiDB ignored it.
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: