modifs.mineures sans commentaires
This commit is contained in:
parent
2a7793979b
commit
86a49f98e2
|
@ -516,7 +516,7 @@ EOT;
|
||||||
]);
|
]);
|
||||||
if ($manageTransactions && $commitThreshold !== null) {
|
if ($manageTransactions && $commitThreshold !== null) {
|
||||||
$commitThreshold--;
|
$commitThreshold--;
|
||||||
if ($commitThreshold == 0) {
|
if ($commitThreshold <= 0) {
|
||||||
$db->commit();
|
$db->commit();
|
||||||
$db->beginTransaction();
|
$db->beginTransaction();
|
||||||
$commitThreshold = $channel->getEachCommitThreshold();
|
$commitThreshold = $channel->getEachCommitThreshold();
|
||||||
|
@ -579,7 +579,7 @@ EOT;
|
||||||
]);
|
]);
|
||||||
if ($manageTransactions && $commitThreshold !== null) {
|
if ($manageTransactions && $commitThreshold !== null) {
|
||||||
$commitThreshold--;
|
$commitThreshold--;
|
||||||
if ($commitThreshold == 0) {
|
if ($commitThreshold <= 0) {
|
||||||
$db->commit();
|
$db->commit();
|
||||||
$db->beginTransaction();
|
$db->beginTransaction();
|
||||||
$commitThreshold = $channel->getEachCommitThreshold();
|
$commitThreshold = $channel->getEachCommitThreshold();
|
||||||
|
|
Loading…
Reference in New Issue