fix: create block data for last files

This commit is contained in:
Minglei Jin 2022-08-22 19:10:55 +08:00
parent 940896f2ce
commit ab94107310
1 changed files with 2 additions and 0 deletions

View File

@ -496,6 +496,8 @@ static int32_t getNextRowFromFSLast(void *iter, TSDBROW **ppRow) {
if (!state->pBlockDataL) {
state->pBlockDataL = &state->blockDataL;
tBlockDataCreate(state->pBlockDataL);
}
code = tBlockDataInit(state->pBlockDataL, suid, suid ? 0 : uid, state->pTSchema);
if (code) goto _err;