Skip to content

Commit

Permalink
Implement QuoteStrategy on SqlWalker walkRangeVariableDeclaration
Browse files Browse the repository at this point in the history
  • Loading branch information
John Brown committed Jun 6, 2013
1 parent 5c7b98b commit 77b905e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Doctrine/ORM/Query/SqlWalker.php
Original file line number Diff line number Diff line change
Expand Up @@ -844,8 +844,8 @@ public function walkRangeVariableDeclaration($rangeVariableDeclaration)

$this->rootAliases[] = $dqlAlias;

$sql = $class->getQuotedTableName($this->platform) . ' '
. $this->getSQLTableAlias($class->getTableName(), $dqlAlias);
$sql = $this->quoteStrategy->getTableName($class,$this->platform) . ' '
. $this->getSQLTableAlias($class->getTableName(), $dqlAlias);

if ($class->isInheritanceTypeJoined()) {
$sql .= $this->_generateClassTableInheritanceJoins($class, $dqlAlias);
Expand Down

0 comments on commit 77b905e

Please sign in to comment.