Suppress unused-variable warning in non-assert builds.
Introduced in commit 7012b132d
.
Kyotaro Horiguchi
This commit is contained in:
parent
8eb6337f9f
commit
8529686ccb
|
@ -1026,11 +1026,10 @@ static void
|
||||||
deparseFromExpr(List *quals, deparse_expr_cxt *context)
|
deparseFromExpr(List *quals, deparse_expr_cxt *context)
|
||||||
{
|
{
|
||||||
StringInfo buf = context->buf;
|
StringInfo buf = context->buf;
|
||||||
RelOptInfo *foreignrel = context->foreignrel;
|
|
||||||
RelOptInfo *scanrel = context->scanrel;
|
RelOptInfo *scanrel = context->scanrel;
|
||||||
|
|
||||||
/* For upper relations, scanrel must be either a joinrel or a baserel */
|
/* For upper relations, scanrel must be either a joinrel or a baserel */
|
||||||
Assert(foreignrel->reloptkind != RELOPT_UPPER_REL ||
|
Assert(context->foreignrel->reloptkind != RELOPT_UPPER_REL ||
|
||||||
scanrel->reloptkind == RELOPT_JOINREL ||
|
scanrel->reloptkind == RELOPT_JOINREL ||
|
||||||
scanrel->reloptkind == RELOPT_BASEREL);
|
scanrel->reloptkind == RELOPT_BASEREL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue