summaryrefslogtreecommitdiff
path: root/sql/ha_partition.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r--sql/ha_partition.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc
index 6b29d6588fc..bff21d6681d 100644
--- a/sql/ha_partition.cc
+++ b/sql/ha_partition.cc
@@ -73,11 +73,14 @@ static handler *partition_create_handler(TABLE_SHARE *share);
static uint partition_flags();
static uint alter_table_flags(uint flags);
+static const char partition_hton_name[]= "partition";
+static const char partition_hton_comment[]= "Partition Storage Engine Helper";
+
handlerton partition_hton = {
MYSQL_HANDLERTON_INTERFACE_VERSION,
- "partition",
+ partition_hton_name,
SHOW_OPTION_YES,
- "Partition Storage Engine Helper", /* A comment used by SHOW to describe an engine */
+ partition_hton_comment, /* A comment used by SHOW to describe an engine */
DB_TYPE_PARTITION_DB,
0, /* Method that initializes a storage engine */
0, /* slot */
@@ -5447,9 +5450,9 @@ mysql_declare_plugin(partition)
{
MYSQL_STORAGE_ENGINE_PLUGIN,
&partition_hton,
- partition_hton.name,
+ partition_hton_name,
"Mikael Ronstrom, MySQL AB",
- "Partitioning Support",
+ partition_hton_comment,
NULL, /* Plugin Init */
NULL, /* Plugin Deinit */
0x0100 /* 1.0 */,