“f601c16b9e67d531dda51fc18389a53db4360b7b”上不存在“testsuites/unittest_old/IO/io_test.cpp”
提交 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) {
// 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.
if (param == NULL) {
assert(code != TSDB_CODE_SUCCESS);
if(code != TSDB_CODE_SUCCESS)
tscError("tscRetrieveDataRes param is NULL, error code=%d", code);
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册