Navigation Menu

Skip to content

Commit

Permalink
Merge branch 'hotfix/pdo-oci-platform' of git://github.com/tux-rampag…
Browse files Browse the repository at this point in the history
…e/zf2 into tux-rampage-hotfix/pdo-oci-platform
  • Loading branch information
Ralph Schindler committed Mar 13, 2013
2 parents 379d16f + b7f4dd0 commit 56651e2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions library/Zend/Db/Adapter/Driver/Pdo/Pdo.php
Expand Up @@ -187,6 +187,9 @@ public function getDatabasePlatformName($nameFormat = self::NAME_FORMAT_CAMELCAS
switch ($name) {
case 'pgsql':
return 'Postgresql';
case 'oci':
return 'Oracle';

default:
return ucfirst($name);
}
Expand All @@ -198,6 +201,8 @@ public function getDatabasePlatformName($nameFormat = self::NAME_FORMAT_CAMELCAS
return 'MySQL';
case 'pgsql':
return 'PostgreSQL';
case 'oci':
return 'Oracle';
default:
return ucfirst($name);
}
Expand Down

0 comments on commit 56651e2

Please sign in to comment.