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

Bug #1010267 reported by Mark Callaghan on 2012-06-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to
Won't Fix

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

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
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 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

Percona now uses JIRA for bug reports so this bug report is migrated to:

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

Other bug subscribers