added fix for pt-deadlock-logger-introduces-a-noise-to-mysql-1258135

This commit is contained in:
Frank Cizmich
2014-07-04 11:45:14 -03:00

View File

@@ -4616,6 +4616,9 @@ sub main {
}
}
else {
if ( $fingerprint ne $last_fingerprint ) {
PTDEBUG && _d('New deadlock');
if ( $ins_sth ) {
eval {
PTDEBUG && _d('Saving deadlock to --dest');
@@ -4651,8 +4654,6 @@ sub main {
}
}
if ( $fingerprint ne $last_fingerprint ) {
PTDEBUG && _d('New deadlock');
if ( !$o->get('quiet') ) {
print join($sep, @cols), "\n";
foreach my $txn (