Skip to content

Commit

Permalink
fix: restore getBuildinfo function call
Browse files Browse the repository at this point in the history
  • Loading branch information
DuanKuanJun committed Jun 20, 2024
1 parent 75644c2 commit d7af721
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 d7af721

Please sign in to comment.