Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 7e7210c

Browse files
committed
arraynode should be checked for NULL
1 parent d9adda0 commit 7e7210c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pg_pathman.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ handle_arrexpr(WalkerContext *wcxt, const ScalarArrayOpExpr *expr, const PartRel
13161316
return result;
13171317
}
13181318

1319-
if (IsA(arraynode, Param))
1319+
if (arraynode && IsA(arraynode, Param))
13201320
{
13211321
result->paramsel = DEFAULT_INEQ_SEL;
13221322
}

0 commit comments

Comments
 (0)