fix rownum error happened in connect by clause

Offering: GaussDB Kernel

More detail: when executing connect by prior b=a and (1=1 or rownum=1), the 1=1 subclause will not be dropped.
This commit is contained in:
l30039603
2022-11-17 16:59:40 +08:00
parent c65f9fd92c
commit 072e25bdbe
7 changed files with 453 additions and 115 deletions

View File

@ -57,6 +57,6 @@ extern int SibglingsKeyCmpFast(Datum x, Datum y, SortSupport ssup);
extern void markSWLevelBegin(StartWithOpState *node);
extern void markSWLevelEnd(StartWithOpState *node, int64 rowCount);
extern TupleTableSlot* GetStartWithSlot(RecursiveUnionState* node, TupleTableSlot* slot);
extern TupleTableSlot* GetStartWithSlot(RecursiveUnionState* node, TupleTableSlot* slot, bool isRecursive);
extern bool ExecStartWithRowLevelQual(RecursiveUnionState* node, TupleTableSlot* dstSlot);
#endif /* NODECTESCAN_H */