!6303 修复heap_prune_chain()中不匹配的gstrace_entry和gstrace_exit

Merge pull request !6303 from scmysxb/sxb_bugfix_912
This commit is contained in:
opengauss_bot
2024-11-23 06:12:29 +00:00
committed by Gitee

View File

@ -389,6 +389,7 @@ static int heap_prune_chain(Relation relation, Buffer buffer, OffsetNumber rooto
!HeapTupleHeaderIsHotUpdated(htup)) {
if (HeapKeepInvisibleTuple(&tup, RelationGetDescr(relation))) {
gstrace_exit(GS_TRC_ID_heap_prune_chain);
return ndeleted;
}