Skip to content

Commit

Permalink
Fixed platform to not auto-uppercase identifiers,
Browse files Browse the repository at this point in the history
Fixed platform name to read Oracle instead of Oci8
  • Loading branch information
ralphschindler authored and Ralph Schindler committed Jan 18, 2013
1 parent f762485 commit d047c16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library/Zend/Db/Adapter/Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ protected function createPlatformFromDriver(Driver\DriverInterface $driver)
return new Platform\Mysql();
case 'SqlServer':
return new Platform\SqlServer();
case 'Oci':
case 'Oracle':
return new Platform\Oracle();
case 'Sqlite':
return new Platform\Sqlite();
Expand Down
4 changes: 2 additions & 2 deletions library/Zend/Db/Adapter/Platform/Oracle.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function getQuoteIdentifierSymbol()
*/
public function quoteIdentifier($identifier)
{
return strtoupper('"' . str_replace('"', '\\' . '"', $identifier) . '"');
return '"' . str_replace('"', '\\' . '"', $identifier) . '"';
}

/**
Expand All @@ -61,7 +61,7 @@ public function quoteIdentifierChain($identifierChain)
if (is_array($identifierChain)) {
$identifierChain = implode('"."', $identifierChain);
}
return strtoupper('"' . $identifierChain . '"');
return '"' . $identifierChain . '"';
}

/**
Expand Down

0 comments on commit d047c16

Please sign in to comment.