参数修改

This commit is contained in:
sundechao
2024-06-03 10:34:09 +08:00
committed by yaoxin
parent 385a0c38c8
commit 4960413fee

View File

@ -89,7 +89,7 @@ bool UndoZone::CheckNeedSwitch(void)
UndoLogOffset newInsert = UNDO_LOG_OFFSET_PLUS_USABLE_BYTES(insertURecPtr_, transUndoThresholdSize);
if (unlikely(newInsert + UNDO_LOG_SEGMENT_SIZE > UNDO_LOG_MAX_SIZE ||
undoSpace_.Tail() + UNDO_LOG_SEGMENT_SIZE > UNDO_LOG_MAX_SIZE ||
slotSpace_.Tail() + UNDO_LOG_SEGMENT_SIZE > UNDO_LOG_MAX_SIZE)) {
slotSpace_.Tail() + UNDO_META_SEGMENT_SIZE > UNDO_LOG_MAX_SIZE)) {
return true;
}
return false;