Uploaded image for project: 'Percona Toolkit'
  1. Percona Toolkit
  2. PT-382

LP #1394934: pt-table-checksum 2.2.12 Undefined subroutine &Cxn::Dumper

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None

      Description

      **Reported in Launchpad by Peiran Song last update 26-01-2015 16:27:29

      The latest version of 2.2.12 keeps failing with this error in debug output:

      Undefined subroutine &Cxn::Dumper called at /usr/bin/pt-table-checksum line 3640.

      Command tried:
      $ PTDEBUG=1 ./pt-table-checksum --recursion-method=none --tables=test.activity >ptc2.2.12.st.out 2>ptc2.2.12.st.err
      $ PTDEBUG=1 pt-table-checksum --tables=test.t1 --recursion-method=dsn=h=127.0.0.1,P=13000,D=percona,t=dsns h=127.0.0.1,P=13000,u=msandbox,p=msandbox

      Source code:

      sub is_cluster_node {
      my ($self, $cxn) = @_;

      my $sql = "SHOW VARIABLES LIKE 'wsrep_on'";
      PTDEBUG && _d($cxn->name, $sql);
      my $row = $cxn->dbh->selectrow_arrayref($sql);
      PTDEBUG && _d(Dumper($row)); <----------------------------

        Smart Checklist

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lpjirasync lpjirasync (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: