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,
10211021 List * * outer_parts , List * * inner_parts )
10221022{
10231023 PartitionBoundInfo outer_binfo = outer_rel -> boundinfo ;
1024- PartitionBoundInfo inner_binfo = inner_rel -> boundinfo ;
10251024
10261025 /*
10271026 * Currently, this function is called only from try_partitionwise_join(),
@@ -1032,7 +1031,7 @@ partition_bounds_merge(int partnatts,
10321031 jointype == JOIN_ANTI );
10331032
10341033 /* The partitioning strategies should be the same. */
1035- Assert (outer_binfo -> strategy == inner_binfo -> strategy );
1034+ Assert (outer_binfo -> strategy == inner_rel -> boundinfo -> strategy );
10361035
10371036 * outer_parts = * inner_parts = NIL ;
10381037 switch (outer_binfo -> strategy )
You can’t perform that action at this time.
0 commit comments