8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 04:43:03 +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:
dimitr 2015-02-20 16:56:04 +00:00
parent 44a95e48e6
commit 3ff55133f9

View File

@ -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