Skip to content

Commit b0f5c75

Browse files
authored
Merge pull request #39589 from nextcloud/enh/set-nest-transactions-with-savepoints
set Doctrine to use nest transactions with savepoints
2 parents 210117a + 2a08154 commit b0f5c75

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/private/DB/Connection.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,8 @@ public function __construct(
107107
$this->dbDataCollector->setDebugStack($debugStack);
108108
$this->_config->setSQLLogger($debugStack);
109109
}
110+
111+
$this->setNestTransactionsWithSavepoints(true);
110112
}
111113

112114
/**

0 commit comments

Comments
 (0)