fix(query): fix error in add row into merger.

This commit is contained in:
Haojun Liao 2023-04-25 00:33:24 +08:00
parent 9a14e0db47
commit 37d042a338
1 changed files with 1 additions and 0 deletions

View File

@ -722,6 +722,7 @@ int32_t tsdbRowMergerAdd(SRowMerger *pMerger, TSDBROW *pRow, STSchema *pTSchema)
if (taosArrayGetSize(pMerger->pArray) == 0) {
// ts
jCol = 0;
pTColumn = &pTSchema->columns[jCol++];
ASSERT(pTColumn->type == TSDB_DATA_TYPE_TIMESTAMP);