summaryrefslogtreecommitdiff
path: root/sql/unireg.cc
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-04-09 15:49:13 +0200
committerSergei Golubchik <sergii@pisem.net>2013-04-09 15:49:13 +0200
commit07b252391811d20a6ddd49bac9492257048e8ed6 (patch)
tree805d97230cc73b727437fa064312e43e3879ee7c /sql/unireg.cc
parent5d364e53cb8545790e1b5f37489a2180b78a43cc (diff)
downloadmariadb-git-07b252391811d20a6ddd49bac9492257048e8ed6.tar.gz
rename a handler method to more precisely reflect what kind of a hack it does
Diffstat (limited to 'sql/unireg.cc')
-rw-r--r--sql/unireg.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/unireg.cc b/sql/unireg.cc
index 90039c478be..e2381e34fc7 100644
--- a/sql/unireg.cc
+++ b/sql/unireg.cc
@@ -476,14 +476,14 @@ int rea_create_table(THD *thd, const char *path,
if (thd->variables.keep_files_on_create)
create_info->options|= HA_CREATE_KEEP_FILES;
if (!create_info->frm_only &&
- (file->ha_create_handler_files(path, NULL, CHF_CREATE_FLAG,
+ (file->ha_create_partitioning_metadata(path, NULL, CHF_CREATE_FLAG,
create_info) ||
ha_create_table(thd, path, db, table_name, create_info, 0)))
goto err_handler;
DBUG_RETURN(0);
err_handler:
- (void) file->ha_create_handler_files(path, NULL, CHF_DELETE_FLAG, create_info);
+ (void) file->ha_create_partitioning_metadata(path, NULL, CHF_DELETE_FLAG, create_info);
mysql_file_delete(key_file_frm, frm_name, MYF(0));
DBUG_RETURN(1);
} /* rea_create_table */