Skip to content

Commit

Permalink
Merge pull request #39589 from nextcloud/enh/set-nest-transactions-wi…
Browse files Browse the repository at this point in the history
…th-savepoints

set Doctrine to use nest transactions with savepoints
  • Loading branch information
tcitworld authored May 27, 2024
2 parents 210117a + 2a08154 commit b0f5c75
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/private/DB/Connection.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ public function __construct(
$this->dbDataCollector->setDebugStack($debugStack);
$this->_config->setSQLLogger($debugStack);
}

$this->setNestTransactionsWithSavepoints(true);
}

/**
Expand Down

0 comments on commit b0f5c75

Please sign in to comment.