mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 08:03:04 +01:00
Fixed CORE-4694: "Column unknown" error while preparing a recursive query if the recursive part contains ALIASED datasource in the join with anchor table.
This commit is contained in:
parent
44a95e48e6
commit
3ff55133f9
@ -739,7 +739,10 @@ SelectExprNode* DsqlCompilerScratch::pass1RecursiveCte(SelectExprNode* input)
|
||||
recursiveRse = rse;
|
||||
}
|
||||
else
|
||||
{
|
||||
recursiveRse = recursiveStack.pop();
|
||||
recursiveRse->dsqlFlags |= RecordSourceNode::DFLAG_RECURSIVE;
|
||||
}
|
||||
|
||||
// Create and return the final node
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user