1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-04 04:42:30 +03:00

This commit fixes an incorrect predicate in the if condition (#2608)

that checks for HWM extent in WE_DMLCommandProc::processBatchInsertHwm().
This commit is contained in:
Gagan Goel
2022-11-08 15:51:42 -05:00
committed by GitHub
parent aa372fed58
commit f4e3022fbd

View File

@ -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;