I'm trying this to see what happens. I'll let you know:
Index: utils/pt/pt-table-checksum =================================================================== --- utils/pt/pt-table-checksum (revision 29726) +++ utils/pt/pt-table-checksum (working copy) @@ -216,6 +216,9 @@ mysql_enable_utf8 => ($cxn_string =~ m/charset=utf8/i ? 1 : 0), }; @{$defaults}{ keys %$opts } = values %$opts; + if ( $opts{AutoCommit} ) { + $opts{mysql_auto_reconnect} = 1; + }
if ( $opts->{mysql_use_result} ) { $defaults->{mysql_use_result} = 1;
I'm trying this to see what happens. I'll let you know:
Index: utils/pt/ pt-table- checksum ======= ======= ======= ======= ======= ======= ======= ======= ==== pt-table- checksum (revision 29726) pt-table- checksum (working copy)
mysql_enable_ utf8 => ($cxn_string =~ m/charset=utf8/i ? 1 : 0), auto_reconnect} = 1;
=======
--- utils/pt/
+++ utils/pt/
@@ -216,6 +216,9 @@
};
@{$defaults}{ keys %$opts } = values %$opts;
+ if ( $opts{AutoCommit} ) {
+ $opts{mysql_
+ }
if ( $opts-> {mysql_ use_result} ) {
$defaults- >{mysql_ use_result} = 1;