fix(tsdb): fix invalid read.
This commit is contained in:
parent
b390ee859c
commit
f1b1b8911b
|
@ -572,7 +572,12 @@ static int32_t doLoadFileBlock(STsdbReader* pReader, SArray* pIndexList, SBlockN
|
||||||
|
|
||||||
if (isEmptyQueryTimeWindow(&w)) {
|
if (isEmptyQueryTimeWindow(&w)) {
|
||||||
k += 1;
|
k += 1;
|
||||||
continue;
|
|
||||||
|
if (k >= numOfTables) {
|
||||||
|
break;
|
||||||
|
} else {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 1. time range check
|
// 1. time range check
|
||||||
|
|
Loading…
Reference in New Issue