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

[t:4371], have ::optimize use the handler's status buffer

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@38616 c7de825b-a66e-492c-adef-691d508d4ae1
parent f149f3e7
......@@ -7709,6 +7709,7 @@ int ha_tokudb::optimize(THD * thd, HA_CHECK_OPT * check_opt) {
struct hot_optimize_context hc;
memset(&hc, 0, sizeof hc);
hc.thd = thd;
hc.write_status_msg = this->write_status_msg;
hc.ha = this;
hc.current_table = i;
hc.num_tables = curr_num_DBs;
......
......@@ -24,7 +24,7 @@ typedef struct loader_context {
typedef struct hot_optimize_context {
THD *thd;
char write_status_msg[200];
char* write_status_msg;
ha_tokudb *ha;
uint current_table;
uint num_tables;
......
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