enh: time range when or const value
This commit is contained in:
parent
8c453d5d2c
commit
e3fa2b775f
|
@ -5625,9 +5625,10 @@ static int32_t getTimeRange(SNode** pPrimaryKeyCond, STimeWindow* pTimeRange, bo
|
|||
*pPrimaryKeyCond = pNew;
|
||||
if (nodeType(pNew) == QUERY_NODE_VALUE) {
|
||||
*pTimeRange = TSWINDOW_INITIALIZER;
|
||||
}
|
||||
} else {
|
||||
code = filterGetTimeRange(*pPrimaryKeyCond, pTimeRange, pIsStrict);
|
||||
}
|
||||
}
|
||||
return code;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue