Skip to content

Commit

Permalink
[CBRD-25542] Set MATCH_OK status when partition pruning is applied
Browse files Browse the repository at this point in the history
  • Loading branch information
Hamkua committed Dec 23, 2024
1 parent b95229a commit 4951d36
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/query/partition.c
Original file line number Diff line number Diff line change
Expand Up @@ -1552,6 +1552,13 @@ partition_prune (PRUNING_CONTEXT * pinfo, const REGU_VARIABLE * arg, const PRUNI
{
pruningset_intersect (pruned, &new_pruned);
}
else
{
if (pinfo->error_code == NO_ERROR)
{
status = MATCH_OK;
}
}
}
else
{
Expand Down

0 comments on commit 4951d36

Please sign in to comment.