diff --git a/Doctrine/DBAL/Driver/PDODblib/Driver.php b/Doctrine/DBAL/Driver/PDODblib/Driver.php index 3bf599f..5dc3acd 100644 --- a/Doctrine/DBAL/Driver/PDODblib/Driver.php +++ b/Doctrine/DBAL/Driver/PDODblib/Driver.php @@ -61,6 +61,14 @@ private function _constructPdoDsn(array $params) { $dsn .= ';charset=' . $params['charset']; } + if (isset($params['version'])) { + $dsn .= ';version=' . $params['version']; + } + + if (isset($params['appname'])) { + $dsn .= ';appname=' . $params['appname']; + } + return $dsn; }