提交 7a7b55df 编写于 作者: A Alex Duan

fix(query): remove assert check if return error

上级 5aa2d550
...@@ -3298,7 +3298,8 @@ void tscRetrieveDataRes(void *param, TAOS_RES *tres, int code) { ...@@ -3298,7 +3298,8 @@ void tscRetrieveDataRes(void *param, TAOS_RES *tres, int code) {
// the param may be null, since it may be done by other query threads. and the asyncOnError may enter in this // the param may be null, since it may be done by other query threads. and the asyncOnError may enter in this
// function while kill query by a user. // function while kill query by a user.
if (param == NULL) { if (param == NULL) {
assert(code != TSDB_CODE_SUCCESS); if(code != TSDB_CODE_SUCCESS)
tscError("tscRetrieveDataRes param is NULL, error code=%d", code);
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册