mirror of
https://github.com/postgres/postgres.git
synced 2025-06-05 00:02:04 -04:00
Suppress unused-variable warning.
Ashutosh Bapat Discussion: https://postgr.es/m/CAG-ACPWPB8Lc_aFj25eiPFqi31YB5vmaZnb39mbHSf5Yej=miA@mail.gmail.com
This commit is contained in:
parent
7c91e9055d
commit
401418ca6a
@ -1021,7 +1021,6 @@ partition_bounds_merge(int partnatts,
|
|||||||
List **outer_parts, List **inner_parts)
|
List **outer_parts, List **inner_parts)
|
||||||
{
|
{
|
||||||
PartitionBoundInfo outer_binfo = outer_rel->boundinfo;
|
PartitionBoundInfo outer_binfo = outer_rel->boundinfo;
|
||||||
PartitionBoundInfo inner_binfo = inner_rel->boundinfo;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Currently, this function is called only from try_partitionwise_join(),
|
* Currently, this function is called only from try_partitionwise_join(),
|
||||||
@ -1032,7 +1031,7 @@ partition_bounds_merge(int partnatts,
|
|||||||
jointype == JOIN_ANTI);
|
jointype == JOIN_ANTI);
|
||||||
|
|
||||||
/* The partitioning strategies should be the same. */
|
/* The partitioning strategies should be the same. */
|
||||||
Assert(outer_binfo->strategy == inner_binfo->strategy);
|
Assert(outer_binfo->strategy == inner_rel->boundinfo->strategy);
|
||||||
|
|
||||||
*outer_parts = *inner_parts = NIL;
|
*outer_parts = *inner_parts = NIL;
|
||||||
switch (outer_binfo->strategy)
|
switch (outer_binfo->strategy)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user