diff options
author | Thomas Citharel <nextcloud@tcit.fr> | 2024-05-27 16:53:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-27 16:53:53 +0200 |
commit | b0f5c759a85b4ff0b9f2368d72a41e8a5a02f3c5 (patch) | |
tree | 5419f62cd0204731e3158a5a29fbd3bc0af331ca /lib/private/DB/Connection.php | |
parent | 210117a86e405538110f8d9857c28780cb6a31d5 (diff) | |
parent | 2a0815401e6f56544f1c995a3519589cb678da6b (diff) | |
download | nextcloud-server-b0f5c759a85b4ff0b9f2368d72a41e8a5a02f3c5.tar.gz nextcloud-server-b0f5c759a85b4ff0b9f2368d72a41e8a5a02f3c5.zip |
Merge pull request #39589 from nextcloud/enh/set-nest-transactions-with-savepoints
set Doctrine to use nest transactions with savepoints
Diffstat (limited to 'lib/private/DB/Connection.php')
-rw-r--r-- | lib/private/DB/Connection.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/DB/Connection.php b/lib/private/DB/Connection.php index 81432d9884f..b748312d156 100644 --- a/lib/private/DB/Connection.php +++ b/lib/private/DB/Connection.php @@ -107,6 +107,8 @@ class Connection extends PrimaryReadReplicaConnection { $this->dbDataCollector->setDebugStack($debugStack); $this->_config->setSQLLogger($debugStack); } + + $this->setNestTransactionsWithSavepoints(true); } /** |