Skip to content

Commit

Permalink
There is already a disable in the printer.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
meztez committed Jan 6, 2025
1 parent bb11de1 commit d5321ab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/duckdb/src/common/progress_bar/progress_bar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,11 @@ void ProgressBar::Update(bool final) {
query_progress.percentage = new_percentage;
}
if (ShouldPrint(final)) {
#ifndef DUCKDB_DISABLE_PRINT
if (final) {
FinishProgressBarPrint();
} else {
PrintProgress(LossyNumericCast<int>(query_progress.percentage.load()));
}
#endif
}
}

Expand Down

0 comments on commit d5321ab

Please sign in to comment.