Commit d03eb74c 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 0a98c1c8
......@@ -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.");
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);
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