Browse files

Added support of SQLServer2008Platform

Added support of SQLServer2008Platform
  • Loading branch information...
1 parent 4086dc4 commit a2c6546b3c1d062e97e1545a79dccd9baad717c2 @mabuzagu mabuzagu committed Jan 28, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 Doctrine/DBAL/Driver/PDODblib/Driver.php
View
5 Doctrine/DBAL/Driver/PDODblib/Driver.php
@@ -60,6 +60,11 @@ private function _constructPdoDsn(array $params) {
}
public function getDatabasePlatform() {
+
+ if (class_exists('\\Doctrine\\DBAL\\Platforms\\SQLServer2008Platform')) {
+ return new \Doctrine\DBAL\Platforms\SQLServer2008Platform();
+ }
+
if (class_exists('\\Doctrine\\DBAL\\Platforms\\SQLServer2005Platform')) {
return new \Doctrine\DBAL\Platforms\SQLServer2005Platform();
}

0 comments on commit a2c6546

Please sign in to comment.