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:
@ -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;
|
||||
|
Reference in New Issue
Block a user