From f4e3022fbdecc25a22ae6eaf072e462aa6695f35 Mon Sep 17 00:00:00 2001 From: Gagan Goel Date: Tue, 8 Nov 2022 15:51:42 -0500 Subject: [PATCH] This commit fixes an incorrect predicate in the if condition (#2608) that checks for HWM extent in WE_DMLCommandProc::processBatchInsertHwm(). --- writeengine/server/we_dmlcommandproc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/writeengine/server/we_dmlcommandproc.cpp b/writeengine/server/we_dmlcommandproc.cpp index 540ad28b4..cdd1d75f3 100644 --- a/writeengine/server/we_dmlcommandproc.cpp +++ b/writeengine/server/we_dmlcommandproc.cpp @@ -2425,7 +2425,7 @@ uint8_t WE_DMLCommandProc::processBatchInsertHwm(messageqcpp::ByteStream& bs, st if ((aIt->partNum > aExtentInfo.fPartition) || ((aIt->partNum == aExtentInfo.fPartition) && (aIt->segNum > aExtentInfo.fSegment)) || ((aIt->partNum == aExtentInfo.fPartition) && (aIt->segNum == aExtentInfo.fSegment) && - (aIt->segNum > aExtentInfo.fLocalHwm))) + (aIt->hwm > aExtentInfo.fLocalHwm))) { aExtentInfo.fPartition = aIt->partNum; aExtentInfo.fDbRoot = aIt->dbRoot;