summaryrefslogtreecommitdiff
path: root/sql/ha_federated.cc
diff options
context:
space:
mode:
authorunknown <acurtis@xiphis.org>2006-05-02 04:11:00 -0700
committerunknown <acurtis@xiphis.org>2006-05-02 04:11:00 -0700
commitad4c32c89a1b12a38518b589c944ac06ae023b50 (patch)
tree5d9330a6ecd663b4caf7da376b8a6372a8edeac7 /sql/ha_federated.cc
parentb0efe477fbec37c273098bc85263b195544f2edc (diff)
downloadmariadb-git-ad4c32c89a1b12a38518b589c944ac06ae023b50.tar.gz
WL#3201 additional post-review fixes
config/ac-macros/plugins.m4: remove unneccessary `ifelse' add comment, add missing dnl configure.in: change description for heap engine include/mysql/plugin.h: change macro name sql/ha_berkeley.cc: store strings statically for use in handlerton and plugin structures sql/ha_federated.cc: store strings statically for use in handlerton and plugin structures sql/ha_heap.cc: store strings statically for use in handlerton and plugin structures sql/ha_innodb.cc: store strings statically for use in handlerton and plugin structures sql/ha_myisam.cc: store strings statically for use in handlerton and plugin structures sql/ha_myisammrg.cc: store strings statically for use in handlerton and plugin structures sql/ha_ndbcluster.cc: store strings statically for use in handlerton and plugin structures sql/ha_partition.cc: store strings statically for use in handlerton and plugin structures storage/archive/ha_archive.cc: store strings statically for use in handlerton and plugin structures storage/blackhole/ha_blackhole.cc: store strings statically for use in handlerton and plugin structures storage/csv/ha_tina.cc: store strings statically for use in handlerton and plugin structures storage/example/ha_example.cc: store strings statically for use in handlerton and plugin structures
Diffstat (limited to 'sql/ha_federated.cc')
-rw-r--r--sql/ha_federated.cc11
1 files changed, 7 insertions, 4 deletions
diff --git a/sql/ha_federated.cc b/sql/ha_federated.cc
index f1d2b0025a9..f4fc5f47193 100644
--- a/sql/ha_federated.cc
+++ b/sql/ha_federated.cc
@@ -370,11 +370,14 @@ static int federated_rollback(THD *thd, bool all);
/* Federated storage engine handlerton */
+static const char federated_hton_name[]= "FEDERATED";
+static const char federated_hton_comment[]= "Federated MySQL storage engine";
+
handlerton federated_hton= {
MYSQL_HANDLERTON_INTERFACE_VERSION,
- "FEDERATED",
+ federated_hton_name,
SHOW_OPTION_YES,
- "Federated MySQL storage engine",
+ federated_hton_comment,
DB_TYPE_FEDERATED_DB,
federated_db_init,
0, /* slot */
@@ -2813,9 +2816,9 @@ mysql_declare_plugin(federated)
{
MYSQL_STORAGE_ENGINE_PLUGIN,
&federated_hton,
- federated_hton.name,
+ federated_hton_name,
"Patrick Galbraith and Brian Aker, MySQL AB",
- "Federated Storage Engine",
+ federated_hton_comment,
NULL, /* Plugin Init */
NULL, /* Plugin Deinit */
0x0100 /* 1.0 */,