提交 cea31100 编写于 作者: H hjxilinx

fix the crash when skey is less than ekey.

上级 84c1eb3c
......@@ -5717,7 +5717,7 @@ int32_t doCheckForQuery(SSqlObj* pSql, SQuerySQL* pQuerySql, int32_t index) {
// no result due to invalid query time range
if (pQueryInfo->stime > pQueryInfo->etime) {
pCmd->command = TSDB_SQL_RETRIEVE_EMPTY_RESULT;
pQueryInfo->command = TSDB_SQL_RETRIEVE_EMPTY_RESULT;
return TSDB_CODE_SUCCESS;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册