Commit a6a363f2 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

refs #5343 simplify the drop partition code

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@46855 c7de825b-a66e-492c-adef-691d508d4ae1
parent 256e35f1
......@@ -529,7 +529,6 @@ public:
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:
......
......@@ -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
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