diff --git a/source/dnode/vnode/src/tsdb/tsdbMergeTree.c b/source/dnode/vnode/src/tsdb/tsdbMergeTree.c index b8cd1d123fe7cb8dad9f24afb8c24a92bf3f67db..126d2d729b74596f5110e126ea7e55a30da18d5c 100644 --- a/source/dnode/vnode/src/tsdb/tsdbMergeTree.c +++ b/source/dnode/vnode/src/tsdb/tsdbMergeTree.c @@ -54,11 +54,11 @@ SSttBlockLoadInfo* tCreateLastBlockLoadInfo(STSchema* pSchema, int16_t* colList, } pLoadInfo[i].aSttBlk = taosArrayInit(4, sizeof(SSttBlk)); + pLoadInfo[i].pSchema = pSchema; + pLoadInfo[i].colIds = colList; + pLoadInfo[i].numOfCols = numOfCols; } - pLoadInfo->pSchema = pSchema; - pLoadInfo->colIds = colList; - pLoadInfo->numOfCols = numOfCols; return pLoadInfo; }