Skip to content

Commit

Permalink
fix: build error on cleanIfQueryFailed
Browse files Browse the repository at this point in the history
  • Loading branch information
DuanKuanJun committed Apr 1, 2024
1 parent bb78e36 commit 7934039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/taosdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -9861,7 +9861,7 @@ void* openQuery(void* taos , const char * sql) {
WS_RES *ws_res = ws_query_timeout(taos, sql, g_args.ws_timeout);
int32_t code = ws_errno(ws_res);
if (code != 0) {
cleanIfQueryFailedWS(__func__, __LINE__, (char *)sql, ws_res);
errorPrint("exe sql:%s failed. error code =%d\n", sql, code);
return NULL;
}
return ws_res;
Expand Down

0 comments on commit 7934039

Please sign in to comment.