pt-log-player: Always commit all changes (5.5 compat)

This commit is contained in:
Brian Fraser fraserb@gmail.com
2012-06-04 19:25:25 -03:00
parent a074ce0526
commit 4e241e8de5

View File

@@ -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;
}