pt-table-checksum tables option same as databases option

Bug #1697578 reported by mark
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Toolkit moved to https://jira.percona.com/projects/PT
New
Undecided
Unassigned

Bug Description

[In:/doc/percona-toolkit/2.2/release_notes.html]
Here is my pt-table-checksum command:

pt-table-checksum -uname -ppasswd -hip_address -P3307 --quiet --no-check-binlog-format --ignore-databases mysql,sysdb,percona --tables test.test --function MD5

After run this command, there is no output in percona.checksums.

Then I check the source code:
   if ( $filter->{'tables'}
        && $filter->{'tables'}->{$tbl}
        && $filter->{'tables'}->{$tbl} ne '*'
        && $filter->{'tables'}->{$tbl} ne $db ) {
      PTDEBUG && _d('Table', $tbl, 'is only allowed in database',
         $filter->{'tables'}->{$tbl});
      return 0;
   }
But i do not understand is that '*' is a string and $filter->{'tables'}->{$tbl} is HASH.

This happened only database is same as table.

Tags: doc
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-1431

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

Other bug subscribers

Remote bug watches

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