1
0
mirror of synced 2024-12-14 23:26:04 +03:00

Subqueries should never add items to ResultSetMapping. Fixing possible broken inclusion.

This commit is contained in:
Guilherme Blanco 2011-09-21 17:35:38 -03:00
parent a86038b484
commit 9795cb1f0d

View File

@ -1332,9 +1332,6 @@ class SqlWalker implements TreeWalker
$sql .= $this->walkCaseExpression($expr) . ' AS ' . $columnAlias;
$this->_scalarResultAliasMap[$alias] = $columnAlias;
$columnAlias = $this->_platform->getSQLResultCasing($columnAlias);
$this->_rsm->addScalarResult($columnAlias, $alias);
} else {
// IdentificationVariable
$class = $this->_queryComponents[$expr]['metadata'];