[Pkg-owncloud-commits] [owncloud] 02/09: Using TRANSACTION_READ_COMMITTED
David Prévot
taffit at moszumanska.debian.org
Tue May 19 23:55:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v8.0.3
in repository owncloud.
commit e4f0892831b66a027e0e8c412ae9c334388c54bc
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date: Mon Apr 13 11:36:06 2015 +0200
Using TRANSACTION_READ_COMMITTED
---
lib/private/db/connection.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/private/db/connection.php b/lib/private/db/connection.php
index 0da3c84..5f06502 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);
}
/**
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list