Include optional pt-osc safe output from pt-duplicate-key-checker

Registered by Michael Coburn on 2015-01-15

Currently pt-duplicate-key-checker outputs a report that has a fully usable ALTER TABLE statement to be applied against a MySQL instance. I would like to also have an optional selection to instead generate only the bits that could then be copied into a pt-osc command.

Today:
pt-duplicate-key-checker --databases myschema

ALTER TABLE foo DROP INDEX `bar`;

In-the-near-future:
pt-duplicate-key-checker --databases myschema --output-format pt-osc

DROP INDEX `bar`

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Michael Coburn
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.