Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2a3958e

Browse files
committed
Fix compiler warning in non-assert builds, introduced inf862d57.
Discussion:https://postgr.es/m/20220203183655.ralgkh54sdcgysmn@alap3.anarazel.deBackpatch: 14-, likef862d57
1 parent7b0cec2 commit2a3958e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/backend/executor/nodeForeignscan.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ ForeignNext(ForeignScanState *node)
4444
TupleTableSlot*slot;
4545
ForeignScan*plan= (ForeignScan*)node->ss.ps.plan;
4646
ExprContext*econtext=node->ss.ps.ps_ExprContext;
47-
EState*estate=node->ss.ps.state;
4847
MemoryContextoldcontext;
4948

5049
/* Call the Iterate function in short-lived context */
@@ -55,7 +54,7 @@ ForeignNext(ForeignScanState *node)
5554
* direct modifications cannot be re-evaluated, so shouldn't get here
5655
* during EvalPlanQual processing
5756
*/
58-
Assert(estate->es_epq_active==NULL);
57+
Assert(node->ss.ps.state->es_epq_active==NULL);
5958

6059
slot=node->fdwroutine->IterateDirectModify(node);
6160
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp