Skip to content

Commit 08b0125

Browse files
committed
set result->orig in handle_const()
1 parent 5f6fed0 commit 08b0125

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pg_pathman.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,6 +1125,8 @@ handle_const(const Const *c, WalkerContext *context)
11251125
const PartRelationInfo *prel = context->prel;
11261126
WrapperNode *result = (WrapperNode *) palloc(sizeof(WrapperNode));
11271127

1128+
result->orig = (const Node *) c;
1129+
11281130
/*
11291131
* Had to add this check for queries like:
11301132
* select * from test.hash_rel where txt = NULL;

0 commit comments

Comments
 (0)