Skip to content

Commit

Permalink
Fix segfault. Issue citusdata#7381
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Morozov committed Mar 7, 2024
1 parent edcdbe6 commit 6a9b8c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/backend/distributed/planner/function_call_delegation.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ bool InDelegatedFunctionCall = false;
static bool
contain_param_walker(Node *node, void *context)
{
if (node == NULL)
{
return false;
}
if (IsA(node, Param))
{
Param *paramNode = (Param *) node;
Expand Down

0 comments on commit 6a9b8c8

Please sign in to comment.