summaryrefslogtreecommitdiff
path: root/sql/ha_berkeley.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_berkeley.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_berkeley.cc')
-rw-r--r--sql/ha_berkeley.cc14
1 files changed, 9 insertions, 5 deletions
diff --git a/sql/ha_berkeley.cc b/sql/ha_berkeley.cc
index 0fabd00faa3..ef1876c0e2e 100644
--- a/sql/ha_berkeley.cc
+++ b/sql/ha_berkeley.cc
@@ -125,11 +125,15 @@ static int berkeley_savepoint(THD* thd, void *savepoint);
static int berkeley_release_savepoint(THD* thd, void *savepoint);
static handler *berkeley_create_handler(TABLE_SHARE *table);
+static const char berkeley_hton_name[]= "BerkeleyDB";
+static const char berkeley_hton_comment[]=
+ "Supports transactions and page-level locking";
+
handlerton berkeley_hton = {
MYSQL_HANDLERTON_INTERFACE_VERSION,
- "BerkeleyDB",
+ berkeley_hton_name,
SHOW_OPTION_YES,
- "Supports transactions and page-level locking",
+ berkeley_hton_comment,
DB_TYPE_BERKELEY_DB,
berkeley_init,
0, /* slot */
@@ -2733,9 +2737,9 @@ mysql_declare_plugin(berkeley)
{
MYSQL_STORAGE_ENGINE_PLUGIN,
&berkeley_hton,
- berkeley_hton.name,
- "MySQL AB",
- "BerkeleyDB Storage Engine",
+ berkeley_hton_name,
+ "Sleepycat Software",
+ berkeley_hton_comment,
NULL, /* Plugin Init */
NULL, /* Plugin Deinit */
0x0100 /* 1.0 */,