fix: use imem maxKey/minKey
This commit is contained in:
parent
09e314c3ae
commit
1a3e280ea8
|
@ -4965,11 +4965,11 @@ static void getMemTableTimeRange(STsdbReader* pReader, int64_t* pMaxKey, int64_t
|
|||
if (pReader->pReadSnap->pIMem != NULL) {
|
||||
di = tsdbGetTbDataFromMemTable(pReader->pReadSnap->pIMem, pReader->info.suid, pBlockScanInfo->uid);
|
||||
if (di != NULL) {
|
||||
if (d->maxKey > maxKey) {
|
||||
maxKey = d->maxKey;
|
||||
if (di->maxKey > maxKey) {
|
||||
maxKey = di->maxKey;
|
||||
}
|
||||
if (d->minKey < minKey) {
|
||||
minKey = d->minKey;
|
||||
if (di->minKey < minKey) {
|
||||
minKey = di->minKey;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue