fix: code optimization

This commit is contained in:
Cary Xu 2022-05-09 12:00:07 +08:00
parent 4b6cae113f
commit 35c2f9e484
1 changed files with 0 additions and 1 deletions

View File

@ -2120,7 +2120,6 @@ static void doMergeTwoLevelData(STsdbReadHandle* pTsdbReadHandle, STableCheckInf
int32_t qstart = 0, qend = 0;
getQualifiedRowsPos(pTsdbReadHandle, pos, end, numOfRows, &qstart, &qend);
lastKeyAppend = tsArray[qend];
if ((lastKeyAppend != TSKEY_INITIAL_VAL) &&
(lastKeyAppend != (ASCENDING_TRAVERSE(pTsdbReadHandle->order) ? tsArray[qstart] : tsArray[qend]))) {