diff --git a/storage/tokudb/ha_tokudb.h b/storage/tokudb/ha_tokudb.h index 4baa25b58aa90cb61e16557af90eb20d16df6343..fabf3d4124b2dc7c4d6e792b3f82b5a4beb71f7e 100644 --- a/storage/tokudb/ha_tokudb.h +++ b/storage/tokudb/ha_tokudb.h @@ -529,7 +529,6 @@ class ha_tokudb : public handler { int alter_table_add_or_drop_column(TABLE *altered_table, Alter_inplace_info *ha_alter_info); void print_alter_info(TABLE *altered_table, Alter_inplace_info *ha_alter_info); public: - int create_handler_files(const char *name, const char *old_name, int action_flag, HA_CREATE_INFO *info); #endif #if TOKU_INCLUDE_ALTER_55 public: diff --git a/storage/tokudb/ha_tokudb_alter_56.cc b/storage/tokudb/ha_tokudb_alter_56.cc index e3721a0c8bf903c3e33e7863e2c142e6c38da063..f40dac9f734df408ed2124c8e60a6e9408b946f3 100644 --- a/storage/tokudb/ha_tokudb_alter_56.cc +++ b/storage/tokudb/ha_tokudb_alter_56.cc @@ -547,19 +547,4 @@ ha_tokudb::commit_inplace_alter_table(TABLE *altered_table, Alter_inplace_info * DBUG_RETURN(result); } -int -ha_tokudb::create_handler_files(const char *name, const char *old_name, int action_flag, HA_CREATE_INFO *info) { - TOKUDB_DBUG_ENTER("create_handler_files"); - int error = 0; - if (action_flag == CHF_CREATE_FLAG) { - THD *thd = ha_thd(); - tokudb_trx_data *trx = (tokudb_trx_data *) thd_data_get(thd, tokudb_hton->slot); - if (trx && trx->stmt && share) { - int error = write_frm_data(share->status_block, trx->stmt, name); - assert(error == 0); - } - } - DBUG_RETURN(error); -} - #endif