Removing support for storage engines being loadable, will push featureto 5.2.

sql/sql_plugin.cc:
  Removed support for Storage gneines.
This commit is contained in:
unknown 2006-02-17 16:00:36 -08:00
parent d8817c63c1
commit f34a66deb7

View File

@ -517,15 +517,8 @@ static int plugin_initialize(struct st_plugin_int *plugin)
switch (plugin->plugin->type) switch (plugin->plugin->type)
{ {
case MYSQL_STORAGE_ENGINE_PLUGIN: case MYSQL_STORAGE_ENGINE_PLUGIN:
if (ha_initialize_handlerton((handlerton*) plugin->plugin->info)) sql_print_error("Storage Engine plugins are unsupported in this version.");
{ goto err;
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;
default: default:
break; break;
} }