DDC-3434 - adding note on why restoring 'HIDDEN' selected fields is relevant
This commit is contained in:
parent
24c4ec91e5
commit
37516d7548
@ -94,7 +94,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