未验证 提交 41044ba3 编写于 作者: S slguan 提交者: GitHub

Merge pull request #1278 from taosdata/feature/liaohj

fix the crash when skey is less than ekey.
......@@ -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.
先完成此消息的编辑!
想要评论请 注册