fix: use sizeof(SBlockL) from aBlockL array's element size
This commit is contained in:
parent
04e5c75bba
commit
083ce4e67d
|
@ -476,7 +476,7 @@ static int32_t getNextRowFromFSLast(void *iter, TSDBROW **ppRow) {
|
||||||
if (code) goto _err;
|
if (code) goto _err;
|
||||||
|
|
||||||
if (!state->aBlockL) {
|
if (!state->aBlockL) {
|
||||||
state->aBlockL = taosArrayInit(0, sizeof(SBlockIdx));
|
state->aBlockL = taosArrayInit(0, sizeof(SBlockL));
|
||||||
} else {
|
} else {
|
||||||
taosArrayClear(state->aBlockL);
|
taosArrayClear(state->aBlockL);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue