summaryrefslogtreecommitdiff
path: root/sql/ha_partition.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/ha_partition.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/ha_partition.cc')
-rw-r--r--sql/ha_partition.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc
index 5f7851b8e25..efb3ceae51f 100644
--- a/sql/ha_partition.cc
+++ b/sql/ha_partition.cc
@@ -511,7 +511,7 @@ int ha_partition::rename_table(const char *from, const char *to)
Create the handler file (.par-file)
SYNOPSIS
- create_handler_files()
+ create_partitioning_metadata()
name Full path of table name
create_info Create info generated for CREATE TABLE
@@ -520,19 +520,19 @@ int ha_partition::rename_table(const char *from, const char *to)
0 Success
DESCRIPTION
- create_handler_files is called to create any handler specific files
+ create_partitioning_metadata is called to create any handler specific files
before opening the file with openfrm to later call ::create on the
file object.
In the partition handler this is used to store the names of partitions
and types of engines in the partitions.
*/
-int ha_partition::create_handler_files(const char *path,
+int ha_partition::create_partitioning_metadata(const char *path,
const char *old_path,
int action_flag,
HA_CREATE_INFO *create_info)
{
- DBUG_ENTER("ha_partition::create_handler_files()");
+ DBUG_ENTER("ha_partition::create_partitioning_metadata()");
/*
We need to update total number of parts since we might write the handler