Commit a3215bdb authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

[t:4598] make hot progress use 1-based, not 0-based, indexing for dictionary numbers

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@40627 c7de825b-a66e-492c-adef-691d508d4ae1
parent 47283c0b
...@@ -353,7 +353,7 @@ int hot_poll_fun(void *extra, float progress) { ...@@ -353,7 +353,7 @@ int hot_poll_fun(void *extra, float progress) {
sprintf(context->write_status_msg, "The process has been killed, aborting hot optimize."); sprintf(context->write_status_msg, "The process has been killed, aborting hot optimize.");
return ER_ABORTING_CONNECTION; return ER_ABORTING_CONNECTION;
} }
sprintf(context->write_status_msg, "Optimization of index %u of %u about %.lf%% done", context->current_table, context->num_tables, progress*100); sprintf(context->write_status_msg, "Optimization of index %u of %u about %.lf%% done", context->current_table + 1, context->num_tables, 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