Commit 4bf002d6 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-5576 ALTER TABLE progress report > 100%

parent 4a3ea302
......@@ -2247,6 +2247,7 @@ void mysqld_list_processes(THD *thd,const char *user, bool verbose)
(double) tmp->progress.max_counter) /
(double) max_stage)) *
100.0);
set_if_smaller(thd_info->progress, 100);
}
else
thd_info->progress= 0.0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment