summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-16 11:30:04 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-16 11:30:04 +0200
commit76eadfa8dc2dd9767fb94c37ee7f73d41ab08a55 (patch)
tree8c8524e1b090f01d2a68ab4d412147aa271a4600
parent273719f6203e0e6dae0514bcfe3caa44b881db9a (diff)
parente4f0892831b66a027e0e8c412ae9c334388c54bc (diff)
downloadnextcloud-server-76eadfa8dc2dd9767fb94c37ee7f73d41ab08a55.tar.gz
nextcloud-server-76eadfa8dc2dd9767fb94c37ee7f73d41ab08a55.zip
Merge pull request #15577 from owncloud/isolation-level-stable8
Using TRANSACTION_READ_COMMITTED
-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 0da3c844f03..5f065027920 100644
--- a/lib/private/db/connection.php
+++ b/lib/private/db/connection.php
@@ -62,6 +62,8 @@ class Connection extends \Doctrine\DBAL\Connection implements IDBConnection {
parent::__construct($params, $driver, $config, $eventManager);
$this->adapter = new $params['adapter']($this);
$this->tablePrefix = $params['tablePrefix'];
+
+ parent::setTransactionIsolation(parent::TRANSACTION_READ_COMMITTED);
}
/**