I have patched my 3.0.4 as follows:
sub get_cxn { ... if ( VersionParser->new($dbh) >= '5.1.29' ) { + if ( $o->get('check-binlog-format') ) { $sql = 'SELECT @@binlog_format';
...
. "You will need to manually set binlog_format to 'STATEMENT' " . "before running this tool.\n"; } } + } }
and I am using --nocheck-binlog-format on the command line to mirror this parameter from pt-table-checksum
I have patched my 3.0.4 as follows:
sub get_cxn { >new($dbh) >= '5.1.29' ) { 'check- binlog- format' ) ) {
...
if ( VersionParser-
+ if ( $o->get(
$sql = 'SELECT @@binlog_format';
...
. "You will need to manually set binlog_format to 'STATEMENT' "
. "before running this tool.\n";
}
}
+ }
}
and I am using --nocheck- binlog- format on the command line to mirror this parameter from pt-table-checksum