Skip to content

Commit

Permalink
Merge 6237292 into 2eb8cc4
Browse files Browse the repository at this point in the history
  • Loading branch information
yihaoDeng committed Jun 15, 2020
2 parents 2eb8cc4 + 6237292 commit 523d237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kit/taosdemo/taosdemo.c
Expand Up @@ -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);

Expand Down

0 comments on commit 523d237

Please sign in to comment.