1
0
mirror of synced 2025-01-31 04:21:44 +03:00

Implement QuoteStrategy on SqlWalker walkRangeVariableDeclaration

Based on:
http://www.doctrine-project.org/jira/browse/DDC-1845
cb72219b11
This commit is contained in:
John Brown 2013-06-06 15:08:22 -07:00
parent 5c7b98b2a9
commit 77b905eaa8

View File

@ -844,8 +844,8 @@ class SqlWalker implements TreeWalker
$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);