percona-playback does not print offending statement if an error occurred

Bug #1202041 reported by Jervin R
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MOVED - Percona Playback
New
Undecided
Unassigned

Bug Description

[revin@forge percona-playback-0.6]$ ./bin/percona-playback --mysql-host=127.0.0.1 --mysql-port=55320 --mysql-username=msandbox --mysql-password=msandbox --query-log-file=/ssd/msb/msb_5_5_320/data/forge-slow.log --dispatcher-plugin thread-pool --thread-pool-threads-count 100 --session-init-query \"set innodb_fake_changes=1\"

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.