Skip to content

Commit

Permalink
Merge pull request #759 from taosdata/fix/buildWindows
Browse files Browse the repository at this point in the history
fix: remove windows buildInfo
  • Loading branch information
DuanKuanJun committed Jun 20, 2024
2 parents 8adfa82 + 75644c2 commit 00f188f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/benchCommandOpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ void printVersion() {

// version
printf("taosBenchmark version: %s\ngit: %s\n", taosBenchmark_ver, taosBenchmark_commit);
#ifndef WINDOWS
printf("build: %s\n", getBuildInfo());
#endif
if (strlen(taosBenchmark_status) > 0) {
printf("status: %s\n", taosBenchmark_status);
}
Expand Down
3 changes: 2 additions & 1 deletion src/taosdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -668,8 +668,9 @@ static void printVersion(FILE *file) {
char taosdump_commit[] = TAOSDUMP_COMMIT_SHA1;

fprintf(file,"taosdump version: %s\ngit: %s\n", taostools_ver, taosdump_commit);

#ifndef WINDOWS
printf("build: %s\n", getBuildInfo());
#endif

if (strlen(taosdump_status) > 0) {
fprintf(file, "status:%s\n", taosdump_status);
Expand Down

0 comments on commit 00f188f

Please sign in to comment.