pt-log-player ignores --only-select when --print is used

Bug #1010267 reported by Mark Callaghan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Won't Fix
Undecided
Unassigned

Bug Description

source checks for $print and prints SQL statements prior to doing the --only-select check. Thus, when --print is used, the result files have insert/update/delete statements and that scared me until I read the pt-log-player source

Revision history for this message
Baron Schwartz (baron-xaprb) wrote :

Thanks for reporting this. I am not sure if this is a feature or a bug. We will investigate.

Changed in percona-toolkit:
status: New → Triaged
tags: added: pt-log-player
Revision history for this message
Daniel Nichter (daniel-nichter) wrote :

Sorry, support and development for pt-log-player has stopped, and the tool will be removed in 2.2. Percona's active log-playing project is https://launchpad.net/percona-playback. pt-log-player was built for other purposes years ago, so it was never well-suited for controlled replay of logs.

Changed in percona-toolkit:
status: Triaged → Won't Fix
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PT-985

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.