Skip to content

Commit

Permalink
Merge pull request #760 from taosdata/fix/buildWindows
Browse files Browse the repository at this point in the history
fix: restore getBuildinfo function call
  • Loading branch information
DuanKuanJun committed Jun 21, 2024
2 parents 00f188f + d7af721 commit 156def6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/benchCommandOpt.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@ 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
2 changes: 0 additions & 2 deletions src/taosdump.c
Original file line number Diff line number Diff line change
Expand Up @@ -668,9 +668,7 @@ 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 156def6

Please sign in to comment.