|
MySQL 5.6.14 Source Code Document
|

Public Attributes | |
| SHOW_COMP_OPTION | state |
| enum legacy_db_type | db_type |
| uint | slot |
| uint | savepoint_offset |
| int(* | close_connection )(handlerton *hton, THD *thd) |
| int(* | savepoint_set )(handlerton *hton, THD *thd, void *sv) |
| int(* | savepoint_rollback )(handlerton *hton, THD *thd, void *sv) |
| int(* | savepoint_release )(handlerton *hton, THD *thd, void *sv) |
| int(* | commit )(handlerton *hton, THD *thd, bool all) |
| int(* | rollback )(handlerton *hton, THD *thd, bool all) |
| int(* | prepare )(handlerton *hton, THD *thd, bool all) |
| int(* | recover )(handlerton *hton, XID *xid_list, uint len) |
| int(* | commit_by_xid )(handlerton *hton, XID *xid) |
| int(* | rollback_by_xid )(handlerton *hton, XID *xid) |
| void *(* | create_cursor_read_view )(handlerton *hton, THD *thd) |
| void(* | set_cursor_read_view )(handlerton *hton, THD *thd, void *read_view) |
| void(* | close_cursor_read_view )(handlerton *hton, THD *thd, void *read_view) |
| handler *(* | create )(handlerton *hton, TABLE_SHARE *table, MEM_ROOT *mem_root) |
| void(* | drop_database )(handlerton *hton, char *path) |
| int(* | panic )(handlerton *hton, enum ha_panic_function flag) |
| int(* | start_consistent_snapshot )(handlerton *hton, THD *thd) |
| bool(* | flush_logs )(handlerton *hton) |
| bool(* | show_status )(handlerton *hton, THD *thd, stat_print_fn *print, enum ha_stat_type stat) |
| uint(* | partition_flags )() |
| uint(* | alter_table_flags )(uint flags) |
| int(* | alter_tablespace )(handlerton *hton, THD *thd, st_alter_tablespace *ts_info) |
| int(* | fill_is_table )(handlerton *hton, THD *thd, TABLE_LIST *tables, class Item *cond, enum enum_schema_tables) |
| uint32 | flags |
| int(* | binlog_func )(handlerton *hton, THD *thd, enum_binlog_func fn, void *arg) |
| void(* | binlog_log_query )(handlerton *hton, THD *thd, enum_binlog_command binlog_command, const char *query, uint query_length, const char *db, const char *table_name) |
| int(* | release_temporary_latches )(handlerton *hton, THD *thd) |
| enum log_status(* | get_log_status )(handlerton *hton, char *log) |
|
enum handler_create_iterator_result(* | create_iterator )(handlerton *hton, enum handler_iterator_type type, struct handler_iterator *fill_this_in) |
| int(* | discover )(handlerton *hton, THD *thd, const char *db, const char *name, uchar **frmblob, size_t *frmlen) |
| int(* | find_files )(handlerton *hton, THD *thd, const char *db, const char *path, const char *wild, bool dir, List< LEX_STRING > *files) |
| int(* | table_exists_in_engine )(handlerton *hton, THD *thd, const char *db, const char *name) |
| int(* | make_pushed_join )(handlerton *hton, THD *thd, const AQP::Join_plan *plan) |
| const char *(* | system_database )() |
| bool(* | is_supported_system_table )(const char *db, const char *table_name, bool is_sql_layer_system_table) |
| uint32 | license |
| void * | data |
| bool(* handlerton::is_supported_system_table)(const char *db, const char *table_name, bool is_sql_layer_system_table) |
Check if the given db.tablename is a system table for this SE.
| db | Database name to check. |
| table_name | table name to check. |
| is_sql_layer_system_table | if the supplied db.table_name is a SQL layer system table. |
is_sql_layer_system_table is supplied to make more efficient checks possible for SEs that support all SQL layer tables.
This interface is optional, so every SE need not implement it.
| const char*(* handlerton::system_database)() |
List of all system tables specific to the SE. Array element would look like below, { "<database_name>", "<system table name>" }, The last element MUST be, { (const char*)NULL, (const char*)NULL }
This interface is optional, so every SE need not implement it.