24#ifndef SQL_BASE_INCLUDED 
   25#define SQL_BASE_INCLUDED 
   79#define TEMP_PREFIX "MY" 
   85#define DELAYED_OPEN 4096  
   91#define SKIP_NEW_HANDLER 32768 
  117                             const char *
key, 
size_t key_length, 
bool open_view,
 
  118                             bool open_secondary = 
false);
 
  125#define MYSQL_OPEN_IGNORE_GLOBAL_READ_LOCK 0x0001 
  126#define MYSQL_OPEN_IGNORE_FLUSH 0x0002 
  128#define MYSQL_LOCK_IGNORE_GLOBAL_READ_ONLY 0x0008 
  129#define MYSQL_LOCK_LOG_TABLE 0x0010 
  134#define MYSQL_OPEN_HAS_MDL_LOCK 0x0020 
  139#define MYSQL_OPEN_GET_NEW_TABLE 0x0040 
  142#define MYSQL_OPEN_FAIL_ON_MDL_CONFLICT 0x0100 
  144#define MYSQL_OPEN_FORCE_SHARED_MDL 0x0200 
  149#define MYSQL_OPEN_FORCE_SHARED_HIGH_PRIO_MDL 0x0400 
  154#define MYSQL_LOCK_IGNORE_TIMEOUT 0x0800 
  159#define MYSQL_OPEN_SKIP_SCOPED_MDL_LOCK 0x1000 
  164#define MYSQL_LOCK_RPL_INFO_TABLE 0x2000 
  169#define MYSQL_OPEN_IGNORE_KILLED 0x4000 
  175#define MYSQL_OPEN_NO_NEW_TABLE_IN_SE 0x8000 
  177#define MYSQL_OPEN_SECONDARY_ENGINE 0x10000 
  180#define MYSQL_OPEN_REOPEN                                           \ 
  181  (MYSQL_OPEN_IGNORE_FLUSH | MYSQL_OPEN_IGNORE_GLOBAL_READ_LOCK |   \ 
  182   MYSQL_LOCK_IGNORE_GLOBAL_READ_ONLY | MYSQL_LOCK_IGNORE_TIMEOUT | \ 
  183   MYSQL_OPEN_IGNORE_KILLED | MYSQL_OPEN_GET_NEW_TABLE |            \ 
  184   MYSQL_OPEN_HAS_MDL_LOCK) 
  190                           bool add_to_temporary_tables_list,
 
  196                                       bool routine_modifies_data);
 
  210    bool raise_autoinc_has_expl_non_null_val, 
bool *is_row_changed);
 
  221                  bool split_sum_funcs, 
bool column_update,
 
  228                 bool raise_autoinc_has_expl_non_null_val);
 
  232                 bool raise_autoinc_has_expl_non_null_val);
 
  251                            bool register_tree_change);
 
  254                               const char *item_name, 
const char *
db_name,
 
  257                               uint *cached_field_index_ptr,
 
  258                               bool register_tree_change,
 
  261                           uint *cached_field_index_ptr);
 
  342                               bool remove_from_locked_tables,
 
  362                               bool remove_from_locked_tables);
 
  366                      const char *db, 
const char *
table_name, 
bool has_lock);
 
  379                            std::unique_ptr<TABLE_SHARE, Table_share_deleter>>
 
  397                              bool *need_prelocking) = 0;
 
  399                            Table_ref *table_list, 
bool *need_prelocking) = 0;
 
  401                           Table_ref *table_list, 
bool *need_prelocking) = 0;
 
  416                      bool *need_prelocking) 
override;
 
  418                    Table_ref *table_list, 
bool *need_prelocking) 
override;
 
  420                   Table_ref *table_list, 
bool *need_prelocking) 
override;
 
  430                    Table_ref *table_list, 
bool *need_prelocking) 
override;
 
  445                      bool *need_prelocking) 
override;
 
  447                    Table_ref *table_list, 
bool *need_prelocking) 
override;
 
  449                   Table_ref *table_list, 
bool *need_prelocking) 
override;
 
  464                                  &prelocking_strategy);
 
uint32_t Access_bitmask
Definition: auth_acls.h:34
 
Strategy for prelocking algorithm to be used for ALTER TABLE statements.
Definition: sql_base.h:441
 
This class encapsulates a data change operation.
Definition: sql_data_change.h:74
 
A Strategy for prelocking algorithm suitable for DML statements.
Definition: sql_base.h:412
 
Base class that is used to represent any kind of expression in a relational query.
Definition: item.h:853
 
Definition: sql_list.h:573
 
Definition: sql_list.h:434
 
A strategy for prelocking algorithm to be used for LOCK TABLES statement.
Definition: sql_base.h:428
 
Savepoint for MDL context.
Definition: mdl.h:1316
 
A typesafe replacement for DYNAMIC_ARRAY.
Definition: mem_root_array.h:426
 
A context of open_tables() function, used to recover from a failed open_table() or open_routine() att...
Definition: sql_base.h:496
 
uint m_flags
Definition: sql_base.h:556
 
Table_ref * m_failed_table
For OT_DISCOVER, OT_REPAIR and OT_FIX_ROW_TYPE actions, the table list element for the table which de...
Definition: sql_base.h:548
 
void set_has_protection_against_grl()
Set flag indicating that we have already acquired metadata lock protecting this statement against GRL...
Definition: sql_base.h:532
 
enum enum_open_table_action m_action
Back off action.
Definition: sql_base.h:558
 
enum_open_table_action
Definition: sql_base.h:498
 
@ OT_FIX_ROW_TYPE
Definition: sql_base.h:504
 
@ OT_DISCOVER
Definition: sql_base.h:502
 
@ OT_BACKOFF_AND_RETRY
Definition: sql_base.h:500
 
@ OT_REOPEN_TABLES
Definition: sql_base.h:501
 
@ OT_NO_ACTION
Definition: sql_base.h:499
 
@ OT_REPAIR
Definition: sql_base.h:503
 
ulong get_timeout() const
Definition: sql_base.h:524
 
uint get_flags() const
Definition: sql_base.h:526
 
bool has_protection_against_grl() const
Definition: sql_base.h:534
 
ulong m_timeout
Lock timeout in seconds.
Definition: sql_base.h:554
 
THD * m_thd
Definition: sql_base.h:542
 
bool m_has_locks
Whether we had any locks when this context was created.
Definition: sql_base.h:564
 
bool can_back_off() const
Definition: sql_base.h:538
 
const MDL_savepoint & start_of_statement_svp() const
When doing a back-off, we close all tables acquired by this statement.
Definition: sql_base.h:520
 
bool can_recover_from_failed_open() const
Definition: sql_base.h:512
 
MDL_savepoint m_start_of_statement_svp
Definition: sql_base.h:549
 
bool m_has_protection_against_grl
Indicates that in the process of opening tables we have acquired protection against global read lock.
Definition: sql_base.h:569
 
Storage for backup of Open_tables_state.
Definition: sql_class.h:688
 
A typesafe replacement for DYNAMIC_ARRAY.
Definition: prealloced_array.h:71
 
An abstract class for a strategy specifying how the prelocking algorithm should extend the prelocking...
Definition: sql_base.h:391
 
virtual bool handle_table(THD *thd, Query_tables_list *prelocking_ctx, Table_ref *table_list, bool *need_prelocking)=0
 
virtual bool handle_view(THD *thd, Query_tables_list *prelocking_ctx, Table_ref *table_list, bool *need_prelocking)=0
 
virtual ~Prelocking_strategy()=default
 
virtual bool handle_routine(THD *thd, Query_tables_list *prelocking_ctx, Sroutine_hash_entry *rt, sp_head *sp, bool *need_prelocking)=0
 
This class represents a query block, aka a query specification, which is a query consisting of a SELE...
Definition: sql_lex.h:1160
 
Definition: sql_lex.h:2522
 
Structure that represents element in the set of stored routines used by statement or routine.
Definition: sp.h:224
 
For each client connection we create a separate thread with THD serving as a thread/connection descri...
Definition: sql_lexer_thd.h:34
 
std::unordered_map, but with my_malloc, so that you can track the memory used using PSI memory keys.
Definition: map_helpers.h:148
 
Definition: mem_root_deque.h:288
 
A (partial) implementation of std::deque allocating its blocks on a MEM_ROOT.
Definition: mem_root_deque.h:110
 
sp_head represents one instance of a stored program.
Definition: sp_head.h:380
 
A table definition from the master.
Definition: rpl_utility.h:248
 
static bool report_error(THD *thd, int error_code, Sql_condition::enum_severity_level level, Args... args)
Definition: error_handler.cc:291
 
TABLE * find_locked_table(TABLE *list, const char *db, const char *table_name)
Find table in the list of open tables.
Definition: sql_base.cc:3514
 
bool fill_record(THD *thd, TABLE *table, const mem_root_deque< Item * > &fields, const mem_root_deque< Item * > &values, MY_BITMAP *bitmap, MY_BITMAP *insert_into_fields_bitmap, bool raise_autoinc_has_expl_non_null_val)
Fill fields with given items.
Definition: sql_base.cc:9503
 
void free_io_cache(TABLE *entry)
Definition: sql_base.cc:1134
 
bool request_backoff_action(enum_open_table_action action_arg, Table_ref *table)
Check if we can back-off and set back off action if we can.
Definition: sql_base.cc:4074
 
void assign_new_table_id(TABLE_SHARE *share)
Definition: sql_base.cc:3609
 
void update_non_unique_table_error(Table_ref *update, const char *operation, Table_ref *duplicate)
Issue correct error message in case we found 2 duplicate tables which prevent some update operation.
Definition: sql_base.cc:2228
 
void release_table_share(TABLE_SHARE *share)
Mark that we are not using table share anymore.
Definition: sql_base.cc:982
 
bool rename_temporary_table(THD *thd, TABLE *table, const char *new_db, const char *table_name)
Definition: sql_base.cc:2429
 
TABLE_SHARE * get_cached_table_share(const char *db, const char *table_name)
Get an existing table definition from the table definition cache.
Definition: sql_base.cc:1016
 
TABLE * open_n_lock_single_table(THD *thd, Table_ref *table_l, thr_lock_type lock_type, uint flags, Prelocking_strategy *prelocking_strategy)
Open and lock one table.
Definition: sql_base.cc:6434
 
bool insert_fields(THD *thd, Query_block *query_block, const char *db_name, const char *table_name, mem_root_deque< Item * > *fields, mem_root_deque< Item * >::iterator *it, bool any_privileges)
Definition: sql_base.cc:9284
 
bool mysql_rm_tmp_tables(void)
Drop all temporary tables which have been left from previous server run.
Definition: sql_base.cc:10091
 
TABLE * open_log_table(THD *thd, Table_ref *one_table, Open_tables_backup *backup)
Open a log table.
Definition: sql_base.cc:10483
 
void close_temporary(THD *thd, TABLE *table, bool free_share, bool delete_table)
Definition: sql_base.cc:2399
 
void close_thread_tables(THD *thd)
Close all tables used by the current substatement, or all tables used by this thread if we are on the...
Definition: sql_base.cc:1552
 
malloc_unordered_map< std::string, std::unique_ptr< TABLE_SHARE, Table_share_deleter > > * table_def_cache
Definition: sql_base.cc:328
 
bool check_record(THD *thd, Field **ptr)
Check the NOT NULL constraint on all the fields of the current record.
Definition: sql_base.cc:9608
 
bool rm_temporary_table(THD *thd, handlerton *base, const char *path, const dd::Table *table_def)
Delete a temporary table.
Definition: sql_base.cc:7280
 
bool is_acl_table_in_non_LTM(const Table_ref *tl, enum enum_locked_tables_mode ltm)
Check if given Table_ref is a acl table and is being read and not in LOCK TABLE mode.
Definition: sql_base.cc:5652
 
bool init_ftfuncs(THD *thd, Query_block *select)
Definition: sql_base.cc:10317
 
TABLE_SHARE * get_table_share(THD *thd, const char *db, const char *table_name, const char *key, size_t key_length, bool open_view, bool open_secondary=false)
Get the TABLE_SHARE for a table.
Definition: sql_base.cc:682
 
bool find_item_in_list(THD *thd, Item *item, mem_root_deque< Item * > *items, Item ***found, uint *counter, enum_resolution_type *resolution)
Find Item in list of items (find_field_in_tables analog)
Definition: sql_base.cc:8116
 
OPEN_TABLE_LIST * list_open_tables(THD *thd, const char *db, const char *wild)
Definition: sql_base.cc:1043
 
TABLE * find_temporary_table(THD *thd, const char *db, const char *table_name)
Find temporary table specified by database and table names in the THD::temporary_tables list.
Definition: sql_base.cc:2272
 
TABLE * open_ltable(THD *thd, Table_ref *table_list, thr_lock_type update, uint lock_flags)
Definition: sql_base.cc:6484
 
size_t get_table_def_key(const Table_ref *table_list, const char **key)
Get table cache key for a table list element.
Definition: sql_base.cc:437
 
void close_temporary_table(THD *thd, TABLE *table, bool free_share, bool delete_table)
Definition: sql_base.cc:2360
 
Field * find_field_in_tables(THD *thd, Item_ident *item, Table_ref *first_table, Table_ref *last_table, Item **ref, find_item_error_report_type report_error, Access_bitmask want_privilege, bool register_tree_change)
Definition: sql_base.cc:7917
 
void operator()(TABLE_SHARE *share) const
Definition: sql_base.cc:458
 
bool handle_table(THD *thd, Query_tables_list *prelocking_ctx, Table_ref *table_list, bool *need_prelocking) override
Defines how prelocking algorithm for DML statements should handle table list elements:
Definition: sql_base.cc:6176
 
bool setup_natural_join_row_types(THD *thd, mem_root_deque< Table_ref * > *from_clause, Name_resolution_context *context)
Definition: sql_base.cc:8848
 
Table_ref * unique_table(const Table_ref *table, Table_ref *table_list, bool check_alias)
Test that the subject table of INSERT/UPDATE/DELETE/CREATE or (in case of MyISAMMRG) one of its child...
Definition: sql_base.cc:2199
 
void close_all_tables_for_name(THD *thd, TABLE_SHARE *share, bool remove_from_locked_tables, TABLE *skip_table)
Close all open instances of the table but keep the MDL lock.
Definition: sql_base.cc:1483
 
void table_def_free(void)
Definition: sql_base.cc:510
 
Open_table_context(THD *thd, uint flags)
Open_table_context.
Definition: sql_base.cc:4054
 
void close_log_table(THD *thd, Open_tables_backup *backup)
Close a log table.
Definition: sql_base.cc:10513
 
void tdc_remove_table(THD *thd, enum_tdc_remove_table_type remove_type, const char *db, const char *table_name, bool has_lock)
Remove all or some (depending on parameter) instances of TABLE and TABLE_SHARE from the table definit...
Definition: sql_base.cc:10218
 
Field * not_found_field
Definition: sql_base.cc:7312
 
bool fill_record_n_invoke_before_triggers(THD *thd, COPY_INFO *optype_info, const mem_root_deque< Item * > &fields, const mem_root_deque< Item * > &values, TABLE *table, enum enum_trigger_event_type event, int num_fields, bool raise_autoinc_has_expl_non_null_val, bool *is_row_changed)
Fill fields in list with values from the list of items and invoke before triggers.
Definition: sql_base.cc:9784
 
void close_mysql_tables(THD *thd)
A helper function to close a mysql.
Definition: sql_base.cc:10465
 
void close_trans_system_tables(THD *thd)
Close transactional system tables, opened with open_trans_system_tables_for_read().
Definition: sql_base.cc:10440
 
bool open_temporary_table(THD *thd, Table_ref *tl)
Find a temporary table specified by Table_ref instance in the cache and prepare its TABLE instance fo...
Definition: sql_base.cc:7342
 
bool handle_table(THD *thd, Query_tables_list *prelocking_ctx, Table_ref *table_list, bool *need_prelocking) override
Defines how prelocking algorithm for LOCK TABLES statement should handle table list elements.
Definition: sql_base.cc:6278
 
mysql_mutex_t LOCK_open
LOCK_open protects the following variables/objects:
Definition: sql_base.cc:267
 
bool setup_fields(THD *thd, Access_bitmask want_privilege, bool allow_sum_func, bool split_sum_funcs, bool column_update, const mem_root_deque< Item * > *typed_items, mem_root_deque< Item * > *fields, Ref_item_array ref_item_array)
Resolve a list of expressions and setup appropriate data.
Definition: sql_base.cc:8969
 
bool close_temporary_tables(THD *thd)
Definition: sql_base.cc:1792
 
bool lock_dictionary_tables(THD *thd, Table_ref *tables, uint count, uint flags)
Simplified version of lock_tables() call to be used for locking data-dictionary tables when reading o...
Definition: sql_base.cc:7045
 
void tdc_flush_unused_tables()
Definition: sql_base.cc:10170
 
Field * find_field_in_table(TABLE *table, const char *name, bool allow_rowid, uint *cached_field_index_ptr)
Find field by name in a base table.
Definition: sql_base.cc:7656
 
bool handle_view(THD *thd, Query_tables_list *prelocking_ctx, Table_ref *table_list, bool *need_prelocking) override
Defines how prelocking algorithm for DML statements should handle view - all view routines should be ...
Definition: sql_base.cc:6241
 
bool close_cached_tables(THD *thd, Table_ref *tables, bool wait_for_refresh, ulong timeout)
Definition: sql_base.cc:1162
 
bool handle_routine(THD *thd, Query_tables_list *prelocking_ctx, Sroutine_hash_entry *rt, sp_head *sp, bool *need_prelocking) override
Defines how prelocking algorithm for ALTER TABLE statement should handle routines - do nothing as thi...
Definition: sql_base.cc:6300
 
TABLE * open_table_uncached(THD *thd, const char *path, const char *db, const char *table_name, bool add_to_temporary_tables_list, bool open_in_engine, const dd::Table &table_def)
Open a single table without table caching and don't add it to THD::open_tables.
Definition: sql_base.cc:7155
 
bool open_temporary_tables(THD *thd, Table_ref *tl_list)
Pre-open temporary tables corresponding to table list elements.
Definition: sql_base.cc:7434
 
Field * view_ref_found
Definition: sql_base.cc:7313
 
bool open_tables_for_query(THD *thd, Table_ref *tables, uint flags)
Open all tables for a query or statement, in list started by "tables".
Definition: sql_base.cc:6740
 
uint cached_table_definitions(void)
Definition: sql_base.cc:522
 
void table_def_start_shutdown(void)
Notify table definition cache that process of shutting down server has started so it has to keep numb...
Definition: sql_base.cc:494
 
bool open_trans_system_tables_for_read(THD *thd, Table_ref *table_list)
Open and lock transactional system tables for read.
Definition: sql_base.cc:10374
 
void drop_temporary_table(THD *thd, Table_ref *table_list)
Drop a temporary table.
Definition: sql_base.cc:2336
 
bool open_and_lock_tables(THD *thd, Table_ref *tables, uint flags, Prelocking_strategy *prelocking_strategy)
Open all tables in list, locks them and optionally process derived tables.
Definition: sql_base.cc:6577
 
bool resolve_var_assignments(THD *thd, LEX *lex)
Resolve variable assignments from LEX object.
Definition: sql_base.cc:8925
 
bool wait_while_table_is_used(THD *thd, TABLE *table, enum ha_extra_function function)
Force all other threads to stop using the table by upgrading metadata lock on it and remove unused TA...
Definition: sql_base.cc:2463
 
void close_thread_table(THD *thd, TABLE **table_ptr)
Definition: sql_base.cc:1732
 
Table_ref * find_table_in_global_list(Table_ref *table, const char *db_name, const char *table_name)
Find table in global list.
Definition: sql_base.cc:2071
 
bool handle_routine(THD *thd, Query_tables_list *prelocking_ctx, Sroutine_hash_entry *rt, sp_head *sp, bool *need_prelocking) override
Defines how prelocking algorithm for DML statements should handle routines:
Definition: sql_base.cc:6127
 
bool lock_tables(THD *thd, Table_ref *tables, uint counter, uint flags)
Lock all tables in a list.
Definition: sql_base.cc:6822
 
int setup_ftfuncs(const THD *thd, Query_block *select)
Definition: sql_base.cc:10293
 
thr_lock_type read_lock_type_for_table(THD *thd, Query_tables_list *prelocking_ctx, Table_ref *table_list, bool routine_modifies_data)
Definition: sql_base.cc:4350
 
bool table_def_init(void)
Definition: sql_base.cc:469
 
TABLE * find_table_for_mdl_upgrade(THD *thd, const char *db, const char *table_name, bool no_error)
Find instance of TABLE with upgradable or exclusive metadata lock from the list of open tables,...
Definition: sql_base.cc:3547
 
void close_tables_for_reopen(THD *thd, Table_ref **tables, const MDL_savepoint &start_of_statement_svp)
Prepare statement for reopening of tables and recalculation of set of prelocked tables.
Definition: sql_base.cc:7099
 
bool recover_from_failed_open()
Recover from failed attempt of open table by performing requested action.
Definition: sql_base.cc:4188
 
bool invoke_table_check_constraints(THD *thd, const TABLE *table)
Invoke check constraints defined on the table.
Definition: sql_base.cc:9649
 
bool open_table(THD *thd, Table_ref *table_list, Open_table_context *ot_ctx)
Open a base table.
Definition: sql_base.cc:2806
 
bool get_and_lock_tablespace_names(THD *thd, Table_ref *tables_start, Table_ref *tables_end, ulong lock_wait_timeout, uint flags)
Acquire IX metadata locks on tablespace names used by LOCK TABLES or by a DDL statement.
Definition: sql_base.cc:5255
 
void mark_tmp_table_for_reuse(TABLE *table)
Reset a single temporary table.
Definition: sql_base.cc:1344
 
bool handle_view(THD *thd, Query_tables_list *prelocking_ctx, Table_ref *table_list, bool *need_prelocking) override
Defines how prelocking algorithm for ALTER TABLE statement should handle view - do nothing.
Definition: sql_base.cc:6325
 
int run_before_dml_hook(THD *thd)
Run the server hook called "before_dml".
Definition: sql_base.cc:5202
 
bool lock_table_names(THD *thd, Table_ref *table_list, Table_ref *table_list_end, ulong lock_wait_timeout, uint flags, Prealloced_array< MDL_request *, 1 > *schema_reqs=nullptr)
Acquire "strong" (SRO, SNW, SNRW) metadata locks on tables used by LOCK TABLES or by a DDL statement.
Definition: sql_base.cc:5384
 
Field * find_field_in_table_ref(THD *thd, Table_ref *table_list, const char *name, size_t length, const char *item_name, const char *db_name, const char *table_name, Item **ref, Access_bitmask want_privilege, bool allow_rowid, uint *cached_field_index_ptr, bool register_tree_change, Table_ref **actual_table)
Find field in a table reference.
Definition: sql_base.cc:7732
 
Field * find_field_in_table_sef(TABLE *table, const char *name)
Definition: sql_base.cc:7868
 
bool open_tables(THD *thd, Table_ref **tables, uint *counter, uint flags, Prelocking_strategy *prelocking_strategy)
Open all tables in list.
Definition: sql_base.cc:5759
 
bool handle_table(THD *thd, Query_tables_list *prelocking_ctx, Table_ref *table_list, bool *need_prelocking) override
Defines how prelocking algorithm for ALTER TABLE statement should handle table list elements.
Definition: sql_base.cc:6313
 
void intern_close_table(TABLE *entry)
Definition: sql_base.cc:1118
 
static void free_share(st_blackhole_share *share)
Definition: ha_blackhole.cc:307
 
static int flags[50]
Definition: hp_test1.cc:40
 
enum_locked_tables_mode
Type of locked tables mode.
Definition: locked_tables_list.h:47
 
This file includes constants used by all storage engines.
 
ha_extra_function
Definition: my_base.h:184
 
Some integer typedefs for easier portability.
 
static int count
Definition: myisam_ftdump.cc:43
 
static uint update
Definition: myisamlog.cc:91
 
static bool backup
Definition: myisampack.cc:195
 
ABI for instrumented mutexes.
 
static char * path
Definition: mysqldump.cc:137
 
uint counter
Definition: mysqlimport.cc:54
 
PT & ref(PT *tp)
Definition: tablespace_impl.cc:359
 
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
 
bool length(const dd::Spatial_reference_system *srs, const Geometry *g1, double *length, bool *null) noexcept
Computes the length of linestrings and multilinestrings.
Definition: length.cc:76
 
static bool timeout(bool(*wait_condition)())
Timeout function.
Definition: log0meb.cc:496
 
const char * table_name
Definition: rules_table_service.cc:56
 
const char * db_name
Definition: rules_table_service.cc:55
 
std::list< T, ut::allocator< T > > list
Specialization of list which uses ut_allocator.
Definition: ut0new.h:2883
 
required string key
Definition: replication_asynchronous_connection_failover.proto:60
 
required string event
Definition: replication_group_member_actions.proto:32
 
Bounds_checked_array< Item * > Ref_item_array
Definition: sql_base.h:72
 
find_item_error_report_type
Definition: sql_base.h:93
 
@ REPORT_EXCEPT_NOT_FOUND
Definition: sql_base.h:95
 
@ IGNORE_EXCEPT_NON_UNIQUE
Definition: sql_base.h:98
 
@ IGNORE_ERRORS
Definition: sql_base.h:96
 
@ REPORT_ALL_ERRORS
Definition: sql_base.h:94
 
@ REPORT_EXCEPT_NON_UNIQUE
Definition: sql_base.h:97
 
enum_tdc_remove_table_type
Definition: sql_base.h:101
 
@ TDC_RT_REMOVE_UNUSED
Definition: sql_base.h:104
 
@ TDC_RT_REMOVE_NOT_OWN
Definition: sql_base.h:103
 
@ TDC_RT_REMOVE_NOT_OWN_KEEP_SHARE
Definition: sql_base.h:105
 
@ TDC_RT_REMOVE_ALL
Definition: sql_base.h:102
 
@ TDC_RT_MARK_FOR_REOPEN
Definition: sql_base.h:106
 
File containing constants that can be used throughout the server.
 
enum_resolution_type
This enumeration type is used only by the function find_item_in_list to return the info on how an ite...
Definition: sql_const.h:277
 
case opt name
Definition: sslopt-case.h:33
 
The LEX object currently serves three different purposes:
Definition: sql_lex.h:3725
 
Definition: my_bitmap.h:43
 
This structure is shared between different table objects.
Definition: table.h:691
 
Definition: sql_base.h:375
 
Definition: completion_hash.h:35
 
handlerton is a singleton structure - one instance per storage engine - to provide access to storage ...
Definition: handler.h:2622
 
An instrumented mutex structure.
Definition: mysql_mutex_bits.h:50
 
thr_lock_type
Definition: thr_lock.h:51
 
This file defines all base public constants related to triggers in MySQL.
 
enum_trigger_event_type
Constants to enumerate possible event types on which triggers can be fired.
Definition: trigger_def.h:42
 
unsigned int uint
Definition: uca9-dump.cc:75