!1071 修复upsert分区键core掉的问题。

Merge pull request !1071 from gentle_hu/upsert
This commit is contained in:
opengauss-bot
2021-07-27 12:44:01 +00:00
committed by Gitee
14 changed files with 48 additions and 6 deletions

View File

@ -533,7 +533,7 @@ checktest:
*returning = ExecUpdate(conflictTid, oldPartitionOid, bucketid, NULL,
upsertState->us_updateproj, planSlot, &mtstate->mt_epqstate,
mtstate, canSetTag, false);
mtstate, canSetTag, ((ModifyTable*)mtstate->ps.plan)->partKeyUpsert);
ReleaseBuffer(buffer);
return true;
}