DDC-3434 - adding note on why restoring 'HIDDEN' selected fields is relevant
This commit is contained in:
parent
6169175a89
commit
ac67a10d4c
@ -93,7 +93,8 @@ class LimitSubqueryOutputWalker extends SqlWalker
|
||||
public function walkSelectStatement(SelectStatement $AST)
|
||||
{
|
||||
// Set every select expression as visible(hidden = false) to
|
||||
// make $AST to have scalar mappings properly
|
||||
// make $AST have scalar mappings properly - this is relevant for referencing selected
|
||||
// fields from outside the subquery, for example in the ORDER BY segment
|
||||
$hiddens = array();
|
||||
|
||||
foreach ($AST->selectClause->selectExpressions as $idx => $expr) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user