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

Function init

storage/sequence/sequence.cc:526–541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

524}
525
526static int init(void *p)
527{
528 handlerton *hton= (handlerton *)p;
529 sequence_hton= hton;
530 hton->create= create_handler;
531 hton->drop_table= drop_table;
532 hton->discover_table= discover_table;
533 hton->discover_table_existence= discover_table_existence;
534 hton->commit= hton->rollback= [](THD *, bool) { return 0; };
535 hton->savepoint_set= hton->savepoint_rollback= hton->savepoint_release=
536 [](THD *, void *) { return 0; };
537
538 hton->create_group_by= create_group_by_handler;
539 hton->update_optimizer_costs= sequence_update_optimizer_costs;
540 return 0;
541}
542
543static struct st_mysql_storage_engine descriptor =
544{ MYSQL_HANDLERTON_INTERFACE_VERSION };

Callers 15

vars_listMethod · 0.50
init_for_tmp_tableMethod · 0.50
Item_maxmin_subselectMethod · 0.50
Item_exists_subselectMethod · 0.50
Item_in_subselectMethod · 0.50
Item_allany_subselectMethod · 0.50
sp_cacheMethod · 0.50
fix_fieldsMethod · 0.50
initMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected