From f34a66deb7aab530bf858b4f1e32e1be511dd592 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 17 Feb 2006 16:00:36 -0800 Subject: [PATCH] Removing support for storage engines being loadable, will push featureto 5.2. sql/sql_plugin.cc: Removed support for Storage gneines. --- sql/sql_plugin.cc | 11 ++--------- 1 file 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; }