on mssql the schema migration sometimes fails due to an already existing transaction - error: 'New transaction is not allowed because there are other threads running in the session.'

The solution is to simple reconnect to the database to start with a fresh connection
remotes/origin/stable6
Thomas Mueller 11 years ago committed by Thomas Müller
parent 4f15282bc9
commit 4fbc2774ef
  1. 2
      lib/private/db/mdb2schemamanager.php

@ -19,6 +19,8 @@ class MDB2SchemaManager {
*/
public function __construct($conn) {
$this->conn = $conn;
$this->conn->close();
$this->conn->connect();
}
/**

Loading…
Cancel
Save