mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
plugin_hton helper
This commit is contained in:
@ -1210,6 +1210,11 @@ static inline LEX_STRING *hton_name(const handlerton *hton)
|
||||
return &(hton2plugin[hton->slot]->name);
|
||||
}
|
||||
|
||||
static inline handlerton *plugin_hton(plugin_ref plugin)
|
||||
{
|
||||
return plugin_data(plugin, handlerton *);
|
||||
}
|
||||
|
||||
static inline sys_var *find_hton_sysvar(handlerton *hton, st_mysql_sys_var *var)
|
||||
{
|
||||
return find_plugin_sysvar(hton2plugin[hton->slot], var);
|
||||
|
Reference in New Issue
Block a user