File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -1021,7 +1021,6 @@ partition_bounds_merge(int partnatts,
1021
1021
List * * outer_parts , List * * inner_parts )
1022
1022
{
1023
1023
PartitionBoundInfo outer_binfo = outer_rel -> boundinfo ;
1024
- PartitionBoundInfo inner_binfo = inner_rel -> boundinfo ;
1025
1024
1026
1025
/*
1027
1026
* Currently, this function is called only from try_partitionwise_join(),
@@ -1032,7 +1031,7 @@ partition_bounds_merge(int partnatts,
1032
1031
jointype == JOIN_ANTI );
1033
1032
1034
1033
/* The partitioning strategies should be the same. */
1035
- Assert (outer_binfo -> strategy == inner_binfo -> strategy );
1034
+ Assert (outer_binfo -> strategy == inner_rel -> boundinfo -> strategy );
1036
1035
1037
1036
* outer_parts = * inner_parts = NIL ;
1038
1037
switch (outer_binfo -> strategy )
You can’t perform that action at this time.
0 commit comments