1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-14 18:42:34 +03:00

Initialize es_snapshot.

This commit is contained in:
Vadim B. Mikheev
1999-02-01 13:33:27 +00:00
parent 757f403451
commit 072be47202
2 changed files with 3 additions and 1 deletions

View File

@ -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;