aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/DB/Connection.php
diff options
context:
space:
mode:
authorThomas Citharel <nextcloud@tcit.fr>2024-05-27 16:53:53 +0200
committerGitHub <noreply@github.com>2024-05-27 16:53:53 +0200
commitb0f5c759a85b4ff0b9f2368d72a41e8a5a02f3c5 (patch)
tree5419f62cd0204731e3158a5a29fbd3bc0af331ca /lib/private/DB/Connection.php
parent210117a86e405538110f8d9857c28780cb6a31d5 (diff)
parent2a0815401e6f56544f1c995a3519589cb678da6b (diff)
downloadnextcloud-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.php2
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);
}
/**