未验证 提交 54717721 编写于 作者: S Shengliang Guan 提交者: GitHub

Merge pull request #17850 from taosdata/szhou/fixbugs

fix: taos_fetch_row returns null and log the error when the argument is invalid
......@@ -286,7 +286,8 @@ TAOS_ROW taos_fetch_row(TAOS_RES *res) {
return NULL;
} else {
// assert to avoid un-initialization error
ASSERT(0);
tscError("invalid result passed to taos_fetch_row");
return NULL;
}
return NULL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册