修复update多表时并发场景下的数据不一致问题
This commit is contained in:
@ -3473,7 +3473,8 @@ TupleTableSlot* ExecModifyTable(ModifyTableState* node)
|
||||
}
|
||||
}
|
||||
|
||||
EvalPlanQualSetSlot(&node->mt_epqstate, plan_slot);
|
||||
if (estate->result_rel_index == 0)
|
||||
EvalPlanQualSetSlot(&node->mt_epqstate, plan_slot);
|
||||
slot = plan_slot;
|
||||
slot->tts_tupleDescriptor->tdTableAmType = result_rel_info->ri_RelationDesc->rd_tam_type;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user