mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 18:03:04 +01:00
Fixed the issue with recursive CTEs reported by Philippe in firebird-devel.
This commit is contained in:
parent
07bc0dfc81
commit
bd1429c8ba
@ -718,7 +718,7 @@ SelectExprNode* DsqlCompilerScratch::pass1RecursiveCte(SelectExprNode* input)
|
||||
// Create the recursive UNION ALL node
|
||||
|
||||
UnionSourceNode* const recursiveRse = FB_NEW(pool) UnionSourceNode(pool);
|
||||
recursiveRse->dsqlClauses = FB_NEW(pool) RecSourceListNode(pool, recursiveStack.pop());
|
||||
recursiveRse->dsqlClauses = FB_NEW(pool) RecSourceListNode(pool, (unsigned) 0);
|
||||
recursiveRse->dsqlAll = true;
|
||||
recursiveRse->recursive = false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user