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

Commit072be47

Browse files
committed
Initialize es_snapshot.
1 parent757f403 commit072be47

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

‎src/backend/executor/nodeSubplan.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ ExecInitSubPlan(SubPlan *node, EState *estate, Plan *parent)
121121
ExecCreateTupleTable(ExecCountSlotsNode(node->plan)+10);
122122
pfree(sp_estate->es_refcount);
123123
sp_estate->es_refcount=estate->es_refcount;
124+
sp_estate->es_snapshot=estate->es_snapshot;
124125

125126
if (!ExecInitNode(node->plan,sp_estate,NULL))
126127
return false;

‎src/backend/executor/nodeTee.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*ExecInitTee
1515
*ExecEndTee
1616
*
17-
* $Id: nodeTee.c,v 1.27 1998/12/14 06:50:22 scrappy Exp $
17+
* $Id: nodeTee.c,v 1.28 1999/02/01 13:33:27 vadim Exp $
1818
*
1919
*-------------------------------------------------------------------------
2020
*/
@@ -80,6 +80,7 @@ ExecInitTee(Tee *node, EState *currentEstate, Plan *parent)
8080
estate->es_tupleTable=currentEstate->es_tupleTable;
8181
estate->es_refcount=currentEstate->es_refcount;
8282
estate->es_junkFilter=currentEstate->es_junkFilter;
83+
estate->es_snapshot=currentEstate->es_snapshot;
8384

8485
/*
8586
* use the range table for Tee subplan since the range tables for the

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp