pt-online-schema-change "uninitialized value" due to update-foreign-keys-method

Bug #897483 reported by Tobias Schmidt
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
Fix Released
Medium
Daniel Nichter

Bug Description

command: `$ pt-online-schema-change`
tool version: 1.0.1
output: use of uninitialized value in lc at /usr/local/bin/pt-online-schema-change line 4146.
perl version: v5.12.3

Patch would be to change line 4146 to:

  my $rename_fk_method = lc($o->get('update-foreign-keys-method') || '');

Revision history for this message
Daniel Nichter (daniel-nichter) wrote :
tags: added: crash pt-online-schema-change
summary: - pt-online-schema-change "uninitialized value in lc" perl bug
+ pt-online-schema-change "uninitialized value" due to update-foreign-
+ keys-method
Changed in percona-toolkit:
status: New → Confirmed
Revision history for this message
fursten (msv-kth) wrote :

The error is still there in version 2.0.2 of pt-online-schema-change.

Changed in percona-toolkit:
importance: Undecided → Medium
status: Confirmed → In Progress
assignee: nobody → Daniel Nichter (daniel-nichter)
milestone: none → 2.0.3
tags: added: perl-512
tags: added: perl-5.12
removed: perl-512
Changed in percona-toolkit:
status: In Progress → Fix Committed
Changed in percona-toolkit:
status: Fix Committed → Fix Released
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-439

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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