fix bug in transactions with PDO
This commit is contained in:
parent
7c00aedc37
commit
0bb48d814b
1 changed files with 1 additions and 1 deletions
|
@ -486,7 +486,7 @@ class OC_DB {
|
|||
*/
|
||||
public static function beginTransaction(){
|
||||
self::connect();
|
||||
if (self::$backend=self::BACKEND_MDB2 && !self::$connection->supports('transactions')) {
|
||||
if (self::$backend==self::BACKEND_MDB2 && !self::$connection->supports('transactions')) {
|
||||
return false;
|
||||
}
|
||||
self::$connection->beginTransaction();
|
||||
|
|
Loading…
Reference in a new issue