fix: last row array form bug

This commit is contained in:
Minglei Jin 2022-10-17 18:13:38 +08:00
parent da9df99461
commit 109d50a4cc
1 changed files with 1 additions and 1 deletions

View File

@ -1181,7 +1181,7 @@ static int32_t mergeLastRow(tb_uid_t uid, STsdb *pTsdb, bool *dup, SArray **ppCo
// build the result ts row here // build the result ts row here
*dup = false; *dup = false;
if (taosArrayGetSize(pColArray) == nCol) { if (taosArrayGetSize(pColArray) != nCol) {
*ppColArray = NULL; *ppColArray = NULL;
taosArrayDestroy(pColArray); taosArrayDestroy(pColArray);
} else { } else {