Permalink
Browse files

Merge pull request #8 from mabuzagu/master

Added support of SQLServer2008Platform
  • Loading branch information...
2 parents 4086dc4 + a2c6546 commit 9ffe2eb1a5e8990b6b7c17a773b22ff78e79b497 @trooney committed Jan 28, 2013
Showing with 5 additions and 0 deletions.
  1. +5 −0 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 9ffe2eb

Please sign in to comment.