mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Trying to fix ProgressBar for Local
This commit is contained in:
parent
49eae81447
commit
c98c131ee5
@ -394,6 +394,11 @@ void LocalServer::processQueries()
|
||||
context->setProgressCallback([&]
|
||||
(const Progress &value)
|
||||
{
|
||||
if (!progress_bar.updateProgress(progress, value))
|
||||
{
|
||||
// Just a keep-alive update.
|
||||
return true;
|
||||
}
|
||||
progress_bar.updateProgress(progress, value);
|
||||
progress_bar.writeProgress(progress, watch);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user