Comment 4 for bug 1042727

Revision history for this message
Baron Schwartz (baron-xaprb) wrote :

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;