[Pkg-owncloud-commits] [owncloud] 08/165: Using TRANSACTION_READ_COMMITTED

David Prévot taffit at moszumanska.debian.org
Thu Apr 23 04:06:14 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit bcf65d9c13edac4f832743cec1c0cfac2c37211e
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 cb19695..2d8ab55 100644
--- a/lib/private/db/connection.php
+++ b/lib/private/db/connection.php
@@ -79,6 +79,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