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

Merge pull request #2276 from taosdata/hotfix/TD-562

fixbug TD-562
......@@ -817,7 +817,7 @@ void queryDB(TAOS *taos, char *command) {
i--;
}
if (i == 0) {
if (code != 0) {
fprintf(stderr, "Failed to run %s, reason: %s\n", command, taos_errstr(pSql));
taos_free_result(pSql);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册