mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 13:11:32 +00:00
added fix for pt-deadlock-logger-introduces-a-noise-to-mysql-1258135
This commit is contained in:
@@ -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 (
|
||||
|
Reference in New Issue
Block a user