Commit 52891251 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:2780], report loader progress as percentage with less precision

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21826 c7de825b-a66e-492c-adef-691d508d4ae1
parent 334f4f24
...@@ -334,7 +334,7 @@ int poll_fun(void *extra, float progress) { ...@@ -334,7 +334,7 @@ int poll_fun(void *extra, float progress) {
sprintf(context->write_status_msg, "The process has been killed, aborting bulk load."); sprintf(context->write_status_msg, "The process has been killed, aborting bulk load.");
return 1; return 1;
} }
sprintf(context->write_status_msg, "Loading of data about %f done", progress); sprintf(context->write_status_msg, "Loading of data about %.1f%% done", progress*100);
thd_proc_info(context->thd, context->write_status_msg); thd_proc_info(context->thd, context->write_status_msg);
return 0; return 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