mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Adding back support for loadable engines.
This commit is contained in:
@ -529,8 +529,16 @@ 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:
|
||||||
sql_print_error("Storage Engine plugins are unsupported in this version.");
|
if (ha_initialize_handlerton((handlerton*) plugin->plugin->info))
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user