mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-10-20 09:40:38 +00:00
only commit if not autocommit; fixes some newly broken tests
This commit is contained in:
@@ -4861,7 +4861,7 @@ sub save_results {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$dbh->commit;
|
$dbh->commit unless $dbh->{AutoCommit};
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -308,7 +308,7 @@ sub save_results {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$dbh->commit;
|
$dbh->commit unless $dbh->{AutoCommit};
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user