From c94d0ee186b74e72a374f7f6564f3d6fe9333f5b Mon Sep 17 00:00:00 2001 From: Daniel Nichter Date: Fri, 27 Jul 2012 11:54:48 -0600 Subject: [PATCH] Add code comment to new %diff_chunks code. --- bin/pt-table-checksum | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/pt-table-checksum b/bin/pt-table-checksum index 8131bde0..a3739859 100755 --- a/bin/pt-table-checksum +++ b/bin/pt-table-checksum @@ -7703,6 +7703,9 @@ sub main { # Save unique chunks that differ. # https://bugs.launchpad.net/percona-toolkit/+bug/1030031 if ( scalar @$diffs ) { + # "chunk" is the chunk number. See the SELECT + # statement in RowChecksum::find_replication_differences() + # for the full list of columns. map { $diff_chunks{ $_->{chunk} }++ } @$diffs; } };