74 uchar srch_key_val1[MAX_KEY_LENGTH + MAX_REF_PARTS*2];
75 uchar srch_key_val2[MAX_KEY_LENGTH + MAX_REF_PARTS*2];
81 Table_flags int_table_flags;
91 uint store_key_val_for_row(uint keynr,
char* buff, uint buff_len,
93 inline void update_thd(THD* thd);
95 int change_active_index(uint keynr);
96 int general_fetch(uchar*
buf, uint direction, uint match_mode);
97 dberr_t innobase_lock_autoinc();
98 ulonglong innobase_peek_autoinc();
99 dberr_t innobase_set_max_autoinc(ulonglong auto_inc);
100 dberr_t innobase_reset_autoinc(ulonglong auto_inc);
101 dberr_t innobase_get_autoinc(ulonglong* value);
102 void innobase_initialize_autoinc();
119 ulong
index_flags(uint idx, uint part,
bool all_parts)
const;
122 uint max_supported_key_part_length()
const;
125 int open(
const char *
name,
int mode, uint test_if_locked);
133 int update_row(
const uchar * old_data, uchar * new_data);
141 int index_read(uchar * buf,
const uchar * key,
142 uint key_len,
enum ha_rkey_function find_flag);
144 uint key_len,
enum ha_rkey_function find_flag);
155 int rnd_pos(uchar * buf, uchar *pos);
166 int discard_or_import_tablespace(my_bool discard);
167 int extra(
enum ha_extra_function operation);
169 int external_lock(THD *thd,
int lock_type);
170 int transactional_table_lock(THD *thd,
int lock_type);
171 int start_stmt(THD *thd, thr_lock_type lock_type);
178 int parse_table_name(
const char*name,
185 int create(
const char *name,
register TABLE *
form,
191 char* update_table_comment(
const char* comment);
192 char* get_foreign_key_create_info();
197 uint referenced_by_foreign_key();
198 void free_foreign_key_create_info(
char* str);
200 enum thr_lock_type lock_type);
203 ulonglong nb_desired_values,
204 ulonglong *first_value,
205 ulonglong *nb_reserved_values);
216 qc_engine_callback *call_back,
217 ulonglong *engine_data);
218 static const char *get_mysql_bin_log_name();
219 static ulonglong get_mysql_bin_log_pos();
221 int cmp_ref(
const uchar *ref1,
const uchar *ref2);
240 TABLE* altered_table,
255 TABLE* altered_table,
271 TABLE* altered_table,
289 TABLE* altered_table,
302 void build_template(
bool whole_row);
305 inline void reset_template();
307 int info_low(uint,
bool);
319 void* seq_init_param,
320 uint n_ranges, uint mode,
338 void* seq_init_param,
339 uint n_ranges, uint* bufsz,
352 uint* bufsz, uint* flags,
372 #ifndef INNODB_COMPATIBILITY_HOOKS
373 #error InnoDB needs MySQL to be built with #define INNODB_COMPATIBILITY_HOOKS
388 int thd_slave_thread(
const MYSQL_THD thd);
396 int thd_non_transactional_update(
const MYSQL_THD thd);
403 int thd_binlog_format(
const MYSQL_THD thd);
410 void thd_mark_transaction_to_rollback(MYSQL_THD thd,
bool all);
417 bool thd_binlog_filter_ok(
const MYSQL_THD thd);
425 bool thd_sqlcom_can_generate_row_events(
const MYSQL_THD thd);
433 enum durability_properties thd_get_durability_property(
const MYSQL_THD thd);
439 void thd_get_autoinc(
const MYSQL_THD thd, ulong* off, ulong* inc)
440 __attribute__((nonnull));
446 bool thd_is_strict_mode(
const MYSQL_THD thd)
447 __attribute__((nonnull));
452 extern const struct _ft_vft ft_vft_result;
479 innobase_index_name_is_reserved(
485 __attribute__((nonnull, warn_unused_result));
492 innobase_table_flags(
502 __attribute__((nonnull, warn_unused_result));
512 create_options_are_invalid(
519 __attribute__((nonnull, warn_unused_result));
527 innobase_fts_retrieve_ranking(
537 innobase_fts_find_ranking(
546 innobase_fts_close_ranking(
549 __attribute__((nonnull));
555 innobase_fts_load_stopword(
560 __attribute__((nonnull(1,3), warn_unused_result));
563 enum fts_doc_id_index_enum {
564 FTS_INCORRECT_DOC_ID_INDEX,
565 FTS_EXIST_DOC_ID_INDEX,
566 FTS_NOT_EXIST_DOC_ID_INDEX
574 enum fts_doc_id_index_enum
575 innobase_fts_check_doc_id_index(
578 const TABLE* altered_table,
580 ulint* fts_doc_col_no)
582 __attribute__((warn_unused_result));
590 enum fts_doc_id_index_enum
591 innobase_fts_check_doc_id_index_in_def(
595 __attribute__((nonnull, warn_unused_result));
600 innobase_fts_get_version();
605 innobase_fts_flags();
611 innobase_fts_retrieve_docid(
619 innobase_fts_count_matches(