MCPcopy Create free account
hub / github.com/MariaDB/server / ha_lock_engine

Function ha_lock_engine

sql/handler.cc:335–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333
334
335plugin_ref ha_lock_engine(THD *thd, const handlerton *hton)
336{
337 if (hton)
338 {
339 st_plugin_int *plugin= hton2plugin[hton->slot];
340 return my_plugin_lock(thd, plugin_int_to_ref(plugin));
341 }
342 return NULL;
343}
344
345
346handlerton *ha_resolve_by_legacy_type(THD *thd, enum legacy_db_type db_type)

Callers 10

setup_engine_arrayMethod · 0.85
ha_create_tableFunction · 0.85
thd_set_ha_dataFunction · 0.85
create_table_implFunction · 0.85
choose_engineMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected