[TD-1568]fix tdMergeDataCols bug

This commit is contained in:
lichuang 2021-05-31 11:56:19 +08:00
parent 66d5bff0eb
commit 5276ccc334
1 changed files with 1 additions and 1 deletions

View File

@ -462,8 +462,8 @@ int tdMergeDataCols(SDataCols *target, SDataCols *source, int rowsToMerge, int *
}
}
target->numOfRows++;
(*pOffset)++;
}
(*pOffset) += rowsToMerge;
} else {
pTarget = tdDupDataCols(target, true);
if (pTarget == NULL) goto _err;