aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>1999-02-01 13:33:27 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>1999-02-01 13:33:27 +0000
commit072be4720273e02dcea71a8f805f377a35135108 (patch)
treef8bafda963a9ba232e843bd6460236d2bc6913f5 /src/backend/executor
parent757f40345141bf31ea380128cbf2fd2dde4a2798 (diff)
downloadpostgresql-072be4720273e02dcea71a8f805f377a35135108.tar.gz
postgresql-072be4720273e02dcea71a8f805f377a35135108.zip
Initialize es_snapshot.
Diffstat (limited to 'src/backend/executor')
-rw-r--r--src/backend/executor/nodeSubplan.c1
-rw-r--r--src/backend/executor/nodeTee.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/executor/nodeSubplan.c b/src/backend/executor/nodeSubplan.c
index 94abb9aae64..2da904a925a 100644
--- a/src/backend/executor/nodeSubplan.c
+++ b/src/backend/executor/nodeSubplan.c
@@ -121,6 +121,7 @@ ExecInitSubPlan(SubPlan *node, EState *estate, Plan *parent)
ExecCreateTupleTable(ExecCountSlotsNode(node->plan) + 10);
pfree(sp_estate->es_refcount);
sp_estate->es_refcount = estate->es_refcount;
+ sp_estate->es_snapshot = estate->es_snapshot;
if (!ExecInitNode(node->plan, sp_estate, NULL))
return false;
diff --git a/src/backend/executor/nodeTee.c b/src/backend/executor/nodeTee.c
index b565d2fd6e1..5efa748e2c8 100644
--- a/src/backend/executor/nodeTee.c
+++ b/src/backend/executor/nodeTee.c
@@ -14,7 +14,7 @@
* ExecInitTee
* ExecEndTee
*
- * $Id: nodeTee.c,v 1.27 1998/12/14 06:50:22 scrappy Exp $
+ * $Id: nodeTee.c,v 1.28 1999/02/01 13:33:27 vadim Exp $
*
*-------------------------------------------------------------------------
*/
@@ -80,6 +80,7 @@ ExecInitTee(Tee *node, EState *currentEstate, Plan *parent)
estate->es_tupleTable = currentEstate->es_tupleTable;
estate->es_refcount = currentEstate->es_refcount;
estate->es_junkFilter = currentEstate->es_junkFilter;
+ estate->es_snapshot = currentEstate->es_snapshot;
/*
* use the range table for Tee subplan since the range tables for the