mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-10 21:19:59 +00:00
pt-log-player: Always commit all changes (5.5 compat)
This commit is contained in:
@@ -2920,7 +2920,10 @@ sub play_session {
|
||||
} # ITERATION
|
||||
|
||||
close $output_fh if $output_fh;
|
||||
$dbh->disconnect() if $dbh;
|
||||
if ($dbh) {
|
||||
$dbh->commit() unless $dbh->{AutoCommit};
|
||||
$dbh->disconnect();
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user