[td-5707]<fix>: fix bug in interp query while only one row exists in a table.
This commit is contained in:
parent
f73506be56
commit
2e9e8434b4
|
@ -2385,6 +2385,7 @@ static bool loadBlockOfActiveTable(STsdbQueryHandle* pQueryHandle) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (exists) {
|
if (exists) {
|
||||||
|
tsdbRetrieveDataBlock((TsdbQueryHandleT) pQueryHandle, NULL);
|
||||||
if (pQueryHandle->currentLoadExternalRows && pQueryHandle->window.skey == pQueryHandle->window.ekey) {
|
if (pQueryHandle->currentLoadExternalRows && pQueryHandle->window.skey == pQueryHandle->window.ekey) {
|
||||||
SColumnInfoData* pColInfo = taosArrayGet(pQueryHandle->pColumns, 0);
|
SColumnInfoData* pColInfo = taosArrayGet(pQueryHandle->pColumns, 0);
|
||||||
assert(*(int64_t*)pColInfo->pData == pQueryHandle->window.skey);
|
assert(*(int64_t*)pColInfo->pData == pQueryHandle->window.skey);
|
||||||
|
|
Loading…
Reference in New Issue