Merge pull request #16441 from taosdata/fix/TD-18665
fix: use sizeof(SBlockL) for aBlockL array's element size
This commit is contained in:
commit
def21870c7
|
@ -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