Commit 0b0736fc authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge branch 'DBAL-238' into 2.2

parents 0bbb36ec 63200374
......@@ -53,9 +53,13 @@ class Driver implements \Doctrine\DBAL\Driver
$dsn .= ',' . $params['port'];
}
if (isset($params['dbname'])) {
$dsn .= ';Database=' . $params['dbname'];
}
if (isset($params['dbname'])) {;
$dsn .= ';Database=' . $params['dbname'];
}
if (isset($params['MultipleActiveResultSets'])) {
$dsn .= '; MultipleActiveResultSets=' . ($params['MultipleActiveResultSets'] ? 'true' : 'false');
}
return $dsn;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment