percona-playback does not print offending statement if an error occurred
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MOVED - Percona Playback |
New
|
Undecided
|
Unassigned |
Bug Description
[revin@forge percona-
With the command above, I would get:
Error during query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"set' at line 1, number of tries 0
Error during query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"set' at line 1, number of tries 0
Error during query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"set' at line 1, number of tries 0
An immediate thought would be it is coming from the query log file, but it is actually coming from the session-init-query. Percona-playback should print also the offending statement when an error occurs, including but not limited to situations like this.