Commit 682435de authored by unknown's avatar unknown

Adding back support for loadable engines.


sql/sql_plugin.cc:
  Adding back in support for loadable engines.
parent 008edbcc
......@@ -529,8 +529,16 @@ static int plugin_initialize(struct st_plugin_int *plugin)
switch (plugin->plugin->type)
{
case MYSQL_STORAGE_ENGINE_PLUGIN:
sql_print_error("Storage Engine plugins are unsupported in this version.");
goto err;
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;
default:
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment