mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Fix compiler warning in non-assert builds, introduced in f862d57057f.
Discussion: https://postgr.es/m/20220203183655.ralgkh54sdcgysmn@alap3.anarazel.de Backpatch: 14-, like f862d57057f
This commit is contained in:
parent
7b0cec2fa0
commit
2a3958e4d9
@ -44,7 +44,6 @@ ForeignNext(ForeignScanState *node)
|
||||
TupleTableSlot *slot;
|
||||
ForeignScan *plan = (ForeignScan *) node->ss.ps.plan;
|
||||
ExprContext *econtext = node->ss.ps.ps_ExprContext;
|
||||
EState *estate = node->ss.ps.state;
|
||||
MemoryContext oldcontext;
|
||||
|
||||
/* Call the Iterate function in short-lived context */
|
||||
@ -55,7 +54,7 @@ ForeignNext(ForeignScanState *node)
|
||||
* direct modifications cannot be re-evaluated, so shouldn't get here
|
||||
* during EvalPlanQual processing
|
||||
*/
|
||||
Assert(estate->es_epq_active == NULL);
|
||||
Assert(node->ss.ps.state->es_epq_active == NULL);
|
||||
|
||||
slot = node->fdwroutine->IterateDirectModify(node);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user