summaryrefslogtreecommitdiff
path: root/sql/sql_plugin.cc
diff options
context:
space:
mode:
authorbrian@zim.tangent.org <>2006-02-17 16:00:36 -0800
committerbrian@zim.tangent.org <>2006-02-17 16:00:36 -0800
commit3ea4f67f5b0397a8ddeb685c1bf94bc2926706fa (patch)
tree63303ee90a45483a1a6f10f3f16812dd51d91e0e /sql/sql_plugin.cc
parentfd2b90d1745817e885eb6c4b9236c60bcf4a89b3 (diff)
downloadmariadb-git-3ea4f67f5b0397a8ddeb685c1bf94bc2926706fa.tar.gz
Removing support for storage engines being loadable, will push featureto 5.2.
Diffstat (limited to 'sql/sql_plugin.cc')
-rw-r--r--sql/sql_plugin.cc11
1 files changed, 2 insertions, 9 deletions
diff --git a/sql/sql_plugin.cc b/sql/sql_plugin.cc
index 9f17694a137..83fc301bebd 100644
--- a/sql/sql_plugin.cc
+++ b/sql/sql_plugin.cc
@@ -517,15 +517,8 @@ static int plugin_initialize(struct st_plugin_int *plugin)
switch (plugin->plugin->type)
{
case MYSQL_STORAGE_ENGINE_PLUGIN:
- if (ha_initialize_handlerton((handlerton*) plugin->plugin->info))
- {
- sql_print_error("Plugin '%s' handlerton init returned error.",
- plugin->name.str);
- DBUG_PRINT("warning", ("Plugin '%s' handlerton init returned error.",
- plugin->name.str))
- goto err;
- }
- break;
+ sql_print_error("Storage Engine plugins are unsupported in this version.");
+ goto err;
default:
break;
}