pt-online-schema-change --no-swap-tables causes error
Bug #1004551 reported by
Daniel Nichter
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
High
|
Daniel Nichter |
Bug Description
Dropping old table...
Use of uninitialized value in concatenation (.) or string at ./pt-online-
That's because if --no-swap-tables is specified, the code to drop tables still executes but there's no old table to drop.
Related branches
lp:~percona-toolkit-dev/percona-toolkit/fix-osc-no-swap-tables-bug-1004551
- Daniel Nichter: Approve
-
Diff: 179 lines (+74/-3)3 files modifiedbin/pt-online-schema-change (+18/-0)
t/pt-online-schema-change/basics.t (+48/-2)
t/pt-online-schema-change/option_sanity.t (+8/-1)
Changed in percona-toolkit: | |
status: | In Progress → Fix Committed |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Percona now uses JIRA for bug reports so this bug report is migrated to: https:/ /jira.percona. com/browse/ PT-315