From 9424ff7003d39d917e70913212846e2a3acd979d Mon Sep 17 00:00:00 2001 From: Brian Fraser Date: Tue, 30 Oct 2012 16:12:02 -0300 Subject: [PATCH] Removed a spurious change in the previous commit --- bin/pt-table-checksum | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pt-table-checksum b/bin/pt-table-checksum index cc459877..d0624aee 100755 --- a/bin/pt-table-checksum +++ b/bin/pt-table-checksum @@ -5831,7 +5831,7 @@ sub can_nibble { $mysql_index = undef; } - my $chunk_size_limit = $o->get('chunk-size-limit'); + my $chunk_size_limit = $o->get('chunk-size-limit') || 1; my $one_nibble = !defined $args{one_nibble} || $args{one_nibble} ? $row_est <= $chunk_size * $chunk_size_limit : 0;