!4455 修复 assemble xlogrecord 中 maindata header 注册问题

Merge pull request !4455 from yunlongwang/master
This commit is contained in:
opengauss_bot
2024-11-23 08:11:00 +00:00
committed by Gitee

View File

@ -980,6 +980,7 @@ static XLogRecData *XLogRecordAssemble(RmgrId rmid, uint8 info, XLogFPWInfo fpw_
} else {
Assert(remained_size >= 2);
*(scratch++) = XLR_BLOCK_ID_DATA_SHORT;
remained_size--;
*(scratch++) = (uint8)t_thrd.xlog_cxt.mainrdata_len;
remained_size--;
}