BUGFIX: disabling database connection reuse. This resulted in fail if two parallel connections to the same server were estabilished, each using different database. Second MSSQLDatabase object would change the DB also for the first one, resulting in invalid queries afterwards.

This commit is contained in:
Mateusz Uzdowski 2009-10-15 22:04:55 +00:00
parent fe67223740
commit 5eec769564

View File

@ -73,7 +73,7 @@ class MSSQLDatabase extends Database {
}
if($this->mssql) {
$this->dbConn = mssql_connect($parameters['server'], $parameters['username'], $parameters['password']);
$this->dbConn = mssql_connect($parameters['server'], $parameters['username'], $parameters['password'], true);
} else {
$this->dbConn = sqlsrv_connect($parameters['server'], array(
'UID' => $parameters['username'],