diff options
author | acurtis@xiphis.org <> | 2006-05-02 04:11:00 -0700 |
---|---|---|
committer | acurtis@xiphis.org <> | 2006-05-02 04:11:00 -0700 |
commit | f1d4921139a353c0f99751c6bfd710b81e074929 (patch) | |
tree | 5d9330a6ecd663b4caf7da376b8a6372a8edeac7 /storage/blackhole | |
parent | 09c7374d6941463ed40a7589aff6024f9e0db4e4 (diff) | |
download | mariadb-git-f1d4921139a353c0f99751c6bfd710b81e074929.tar.gz |
WL#3201 additional post-review fixes
Diffstat (limited to 'storage/blackhole')
-rw-r--r-- | storage/blackhole/ha_blackhole.cc | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/storage/blackhole/ha_blackhole.cc b/storage/blackhole/ha_blackhole.cc index 31d0b0c3917..e9fd1c2319d 100644 --- a/storage/blackhole/ha_blackhole.cc +++ b/storage/blackhole/ha_blackhole.cc @@ -29,13 +29,17 @@ static handler *blackhole_create_handler(TABLE_SHARE *table); +static const char blackhole_hton_name[]= "BLACKHOLE"; +static const char blackhole_hton_comment[]= + "/dev/null storage engine (anything you write to it disappears)"; + /* Blackhole storage engine handlerton */ handlerton blackhole_hton= { MYSQL_HANDLERTON_INTERFACE_VERSION, - "BLACKHOLE", + blackhole_hton_name, SHOW_OPTION_YES, - "/dev/null storage engine (anything you write to it disappears)", + blackhole_hton_comment, DB_TYPE_BLACKHOLE_DB, NULL, 0, /* slot */ @@ -256,9 +260,9 @@ mysql_declare_plugin(blackhole) { MYSQL_STORAGE_ENGINE_PLUGIN, &blackhole_hton, - blackhole_hton.name, + blackhole_hton_name, "MySQL AB", - "Blackhole Storage Engine", + blackhole_hton_comment, NULL, /* Plugin Init */ NULL, /* Plugin Deinit */ 0x0100 /* 1.0 */, |