Commit ef176446 authored by Zardosht Kasheff's avatar Zardosht Kasheff

refs Tokutek/mongo#645, fix call to hot_optimize

parent a84ebecc
......@@ -224,7 +224,8 @@ int ha_tokudb::optimize(THD * thd, HA_CHECK_OPT * check_opt) {
hc.ha = this;
hc.current_table = i;
hc.num_tables = curr_num_DBs;
error = db->hot_optimize(db, NULL, NULL, hot_poll_fun, &hc);
uint64_t loops_run;
error = db->hot_optimize(db, NULL, NULL, hot_poll_fun, &hc, &loops_run);
if (error) {
goto cleanup;
}
......
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