fix: use sizeof(SBlockL) from aBlockL array's element size

This commit is contained in:
Minglei Jin 2022-08-26 15:43:20 +08:00
parent 04e5c75bba
commit 083ce4e67d
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ static int32_t getNextRowFromFSLast(void *iter, TSDBROW **ppRow) {
if (code) goto _err;
if (!state->aBlockL) {
state->aBlockL = taosArrayInit(0, sizeof(SBlockIdx));
state->aBlockL = taosArrayInit(0, sizeof(SBlockL));
} else {
taosArrayClear(state->aBlockL);
}