Merge pull request #25836 from taosdata/fix/TS-4794-3.0
fix(tsdb/cache): update array reference to fix missing tables/groupby
This commit is contained in:
commit
5760ac25e2
|
@ -376,7 +376,7 @@ static SLastCol *tsdbCacheDeserialize(char const *value, size_t size) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
SLastCol* pLastCol = taosMemoryCalloc(1, sizeof(SLastCol));
|
SLastCol *pLastCol = taosMemoryCalloc(1, sizeof(SLastCol));
|
||||||
if (NULL == pLastCol) {
|
if (NULL == pLastCol) {
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
@ -1558,7 +1558,10 @@ static int32_t tsdbCacheLoadFromRaw(STsdb *pTsdb, tb_uid_t uid, SArray *pLastArr
|
||||||
taosArraySet(pLastArray, idxKey->idx, pLastCol);
|
taosArraySet(pLastArray, idxKey->idx, pLastCol);
|
||||||
// taosArrayRemove(remainCols, i);
|
// taosArrayRemove(remainCols, i);
|
||||||
|
|
||||||
if (!pTmpColArray) {
|
if (/*!pTmpColArray*/ lastTmpIndexArray && !lastTmpColArray) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
if (/*!pTmpColArray*/ lastrowTmpIndexArray && lastrowTmpColArray) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue