The world's most popular open source database
#include <my_global.h>#include <my_dir.h>#include <my_sys.h>#include <m_string.h>#include <errno.h>#include <my_nosys.h>#include <my_list.h>Include dependency graph for my_base.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
| #define EOVERFLOW 84 |
Definition at line 32 of file my_base.h.
Referenced by history_truncate_file(), my_strtod(), and read_history_range().
| #define EQ_RANGE 32 |
Definition at line 447 of file my_base.h.
Referenced by QUICK_GROUP_MIN_MAX_SELECT::add_range(), QUICK_SELECT_DESC::get_next(), QUICK_RANGE_SELECT::get_next(), QUICK_RANGE_SELECT::get_next_prefix(), get_quick_keys(), get_quick_select_for_ref(), QUICK_GROUP_MIN_MAX_SELECT::next_max_in_range(), QUICK_GROUP_MIN_MAX_SELECT::next_min_in_range(), QUICK_SELECT_DESC::QUICK_SELECT_DESC(), QUICK_SELECT_DESC::range_reads_after_key(), handler::read_multi_range_first(), handler::read_multi_range_next(), and QUICK_RANGE_SELECT::unique_key_range().
| #define GEOM_FLAG 128 |
Definition at line 449 of file my_base.h.
Referenced by check_quick_keys(), get_mm_leaf(), QUICK_RANGE_SELECT_GEOM::get_next(), get_quick_keys(), key_and(), key_or(), and SEL_ARG::store_min().
| #define HA_AUTO_KEY 16 |
| #define HA_BINARY_PACK_KEY 32 |
Definition at line 212 of file my_base.h.
Referenced by _mi_find_half_pos(), _mi_find_last_pos(), _mi_get_key(), _mi_get_last_key(), _mi_get_prev_key(), _mi_insert(), _mi_keylength(), _mi_keynr(), create_myisam_tmp_table(), descript(), get_one_option(), get_options(), mi_too_big_key_for_sort(), myisamchk(), remove_key(), setup_key_functions(), and underflow().
| #define HA_BIT_PART 1024 |
| #define HA_BLOB_PART 32 |
Definition at line 245 of file my_base.h.
Referenced by _mi_ft_segiterator(), _mi_get_binary_pack_key(), _mi_get_pack_key(), _mi_keylength(), _mi_keylength_part(), _mi_make_key(), _mi_pack_key(), _mi_prefix_search(), _mi_put_key_in_record(), create_key(), create_myisam_tmp_table(), descript(), get_one_option(), hp_rb_pack_key(), hp_rb_var_key_length(), key_cmp_if_same(), key_copy(), key_restore(), main(), mi_repair_by_sort(), mi_repair_parallel(), mi_unique_comp(), mi_unique_hash(), and run_test().
| #define HA_CREATE_CHECKSUM 8 |
| #define HA_CREATE_DELAY_KEY_WRITE 64 |
Definition at line 276 of file my_base.h.
Referenced by get_options(), mysql_create_like_table(), and mysql_create_table_internal().
| #define HA_CREATE_TMP_TABLE 4 |
| #define HA_DONT_TOUCH_DATA 1 |
| #define HA_END_SPACE_ARE_EQUAL 512 |
Definition at line 253 of file my_base.h.
Referenced by create_tmp_table(), ha_key_cmp(), heap_create(), and hp_rec_key_cmp().
| #define HA_END_SPACE_KEY 4096 |
Definition at line 237 of file my_base.h.
Referenced by check_quick_keys(), get_quick_keys(), get_quick_select_for_ref(), heap_create(), heap_rkey(), sort_keys(), and QUICK_RANGE_SELECT::unique_key_range().
| #define HA_ERR_CANNOT_ADD_FOREIGN 150 |
Definition at line 355 of file my_base.h.
Referenced by ha_init_errors(), and handler::print_error().
| #define HA_ERR_CRASHED 126 |
Definition at line 332 of file my_base.h.
Referenced by _mi_ck_real_delete(), _mi_fetch_keypage(), _mi_find_last_pos(), _mi_get_binary_pack_key(), _mi_get_key(), _mi_get_last_key(), _mi_get_pack_key(), _mi_get_prev_key(), _mi_insert(), _mi_prefix_search(), _mi_read_key_record(), _mi_seq_search(), d_search(), ha_init_errors(), heap_enable_indexes(), hp_close(), hp_delete_key(), mi_assign_to_key_cache(), mi_delete(), mi_enable_indexes(), mi_extra(), mi_lock_database(), mi_open(), mi_rkey(), mi_update(), mi_update_status(), mi_write(), myisamchk(), and handler::print_error().
| #define HA_ERR_CRASHED_ON_REPAIR 144 |
Definition at line 349 of file my_base.h.
Referenced by ha_init_errors(), mi_open(), myisamchk(), handler::print_error(), ha_tina::repair(), and ha_archive::repair().
| #define HA_ERR_CRASHED_ON_USAGE 145 |
Definition at line 350 of file my_base.h.
Referenced by ha_tina::find_current_row(), ha_archive::get_row(), ha_archive::get_share(), ha_init_errors(), ha_archive::index_read_idx(), mi_open(), myisamchk(), ha_tina::open(), ha_archive::open(), open_table_from_share(), ha_archive::optimize(), handler::print_error(), ha_archive::read_data_header(), read_meta_file(), ha_archive::read_meta_file(), ha_tina::rnd_init(), ha_archive::rnd_init(), ha_tina::rnd_next(), ha_archive::rnd_next(), ha_tina::write_row(), and ha_archive::write_row().
| #define HA_ERR_DROP_INDEX_FK 162 |
Definition at line 368 of file my_base.h.
Referenced by handler::get_dup_key(), and handler::print_error().
| #define HA_ERR_END_OF_FILE 137 |
Definition at line 342 of file my_base.h.
Referenced by _mi_read_pack_info(), _mi_read_rnd_dynamic_record(), _mi_read_rnd_pack_record(), _mi_read_rnd_static_record(), ha_tina::check(), ha_archive::check(), compress_isam_file(), db_show_routine_status(), events_table_index_read_for_db(), subselect_indexsubquery_engine::exec(), subselect_uniquesubquery_engine::exec(), Materialized_cursor::fetch(), fill_schema_proc(), find_all_keys(), ha_tina::find_current_row(), ft_boolean_read_next(), ft_nlq_read_next(), QUICK_GROUP_MIN_MAX_SELECT::get_next(), QUICK_SELECT_DESC::get_next(), QUICK_RANGE_SELECT_GEOM::get_next(), QUICK_RANGE_SELECT::get_next(), QUICK_ROR_UNION_SELECT::get_next(), QUICK_INDEX_MERGE_SELECT::get_next(), QUICK_RANGE_SELECT::get_next_prefix(), ha_archive::get_row(), ha_init_errors(), handle_grant_table(), heap_rfirst(), heap_rlast(), heap_rnext(), heap_rprev(), heap_rrnd(), heap_scan(), ha_blackhole::index_first(), ha_blackhole::index_last(), ha_blackhole::index_next(), ha_archive::index_next(), handler::index_next_same(), ha_blackhole::index_prev(), ha_blackhole::index_read_idx(), ha_archive::index_read_idx(), ha_blackhole::index_read_last(), join_read_always_key(), join_read_const(), join_read_first(), join_read_key(), join_read_last_key(), join_read_next_same(), join_read_system(), main(), mi_rnext(), mi_rnext_same(), mi_rprev(), mrg_rrnd(), my_tz_init(), myisamchk(), myrg_rfirst(), myrg_rlast(), myrg_rnext(), myrg_rnext_same(), myrg_rprev(), myrg_rrnd(), mysql_ha_read(), QUICK_GROUP_MIN_MAX_SELECT::next_max_in_range(), QUICK_GROUP_MIN_MAX_SELECT::next_min(), QUICK_GROUP_MIN_MAX_SELECT::next_min_in_range(), opt_sum_query(), ha_archive::optimize(), handler::print_error(), QUICK_INDEX_MERGE_SELECT::read_keys_and_merge(), handler::read_multi_range_first(), handler::read_multi_range_next(), handler::read_range_first(), handler::read_range_next(), remove_dup_with_compare(), remove_dup_with_hash_index(), ha_tina::repair(), report_error(), QUICK_GROUP_MIN_MAX_SELECT::reset(), QUICK_ROR_UNION_SELECT::reset(), ha_example::rnd_next(), ha_tina::rnd_next(), ha_blackhole::rnd_next(), ha_archive::rnd_next(), rr_handle_error(), run_test(), sp_drop_db_routines(), test_read(), test_rrnd(), test_update(), tz_load_from_open_tables(), and update_auto_increment_key().
| #define HA_ERR_ERRORS (HA_ERR_LAST - HA_ERR_FIRST + 1) |
| #define HA_ERR_FIRST 120 |
| #define HA_ERR_FOREIGN_DUPLICATE_KEY 163 |
Definition at line 369 of file my_base.h.
Referenced by handler::get_dup_key(), ha_init_errors(), and handler::print_error().
| #define HA_ERR_FOUND_DUPP_KEY 121 |
Definition at line 329 of file my_base.h.
Referenced by handler::get_dup_key(), ha_init_errors(), heap_update(), hp_rb_write_key(), hp_write_key(), handler::is_fatal_error(), main(), mi_repair(), handler::print_error(), test_update(), test_write(), w_search(), write_record(), and ha_archive::write_row().
| #define HA_ERR_FOUND_DUPP_UNIQUE 141 |
Definition at line 346 of file my_base.h.
Referenced by handler::get_dup_key(), ha_init_errors(), handler::is_fatal_error(), mi_check_unique(), handler::print_error(), and run_test().
| #define HA_ERR_INDEX_FILE_FULL 136 |
Definition at line 341 of file my_base.h.
Referenced by _mi_new(), ha_init_errors(), and handler::print_error().
| #define HA_ERR_KEY_NOT_FOUND 120 |
Definition at line 328 of file my_base.h.
Referenced by _mi_search(), _mi_search_first(), _mi_search_last(), events_table_index_read_for_db(), subselect_indexsubquery_engine::exec(), subselect_uniquesubquery_engine::exec(), QUICK_GROUP_MIN_MAX_SELECT::get_next(), QUICK_SELECT_DESC::get_next(), QUICK_RANGE_SELECT_GEOM::get_next(), ha_init_errors(), handle_grant_table(), heap_rkey(), heap_rnext(), heap_rprev(), hp_search(), hp_search_next(), join_read_always_key(), join_read_const(), join_read_first(), join_read_key(), join_read_last_key(), main(), mi_delete(), mi_rkey(), mi_rnext(), mi_rprev(), mi_rsame(), mi_rsame_with_pos(), mi_update(), myrg_rkey(), myrg_rnext(), myrg_rnext_same(), myrg_rprev(), mysql_ha_read(), QUICK_GROUP_MIN_MAX_SELECT::next_max_in_range(), QUICK_GROUP_MIN_MAX_SELECT::next_min(), QUICK_GROUP_MIN_MAX_SELECT::next_min_in_range(), opt_sum_query(), handler::print_error(), handler::read_range_first(), report_error(), rr_from_pointers(), rr_from_tempfile(), run_test(), test_read(), test_update(), and tz_load_from_open_tables().
| #define HA_ERR_LAST 165 |
| #define HA_ERR_LOCK_DEADLOCK 149 |
Definition at line 354 of file my_base.h.
Referenced by ha_init_errors(), handler::print_error(), print_lock_error(), and report_error().
| #define HA_ERR_LOCK_TABLE_FULL 147 |
Definition at line 352 of file my_base.h.
Referenced by ha_init_errors(), and handler::print_error().
| #define HA_ERR_LOCK_WAIT_TIMEOUT 146 |
Definition at line 351 of file my_base.h.
Referenced by ha_init_errors(), handler::print_error(), print_lock_error(), and report_error().
| #define HA_ERR_NO_ACTIVE_RECORD 133 |
Definition at line 338 of file my_base.h.
Referenced by ha_init_errors(), myrg_delete(), myrg_rsame(), myrg_update(), and handler::print_error().
| #define HA_ERR_NO_CONNECTION 157 |
| #define HA_ERR_NO_PARTITION_FOUND 160 |
Definition at line 365 of file my_base.h.
Referenced by ha_partition::is_fatal_error(), and ha_ndbcluster::is_fatal_error().
| #define HA_ERR_NO_REFERENCED_ROW 151 |
Definition at line 356 of file my_base.h.
Referenced by ha_init_errors(), and handler::print_error().
| #define HA_ERR_NO_SAVEPOINT 153 |
| #define HA_ERR_NO_SUCH_TABLE 155 |
Definition at line 360 of file my_base.h.
Referenced by execute_ddl_log_action(), ha_init_errors(), mysql_rm_table_part2(), open_table_from_share(), and handler::print_error().
| #define HA_ERR_NON_UNIQUE_BLOCK_SIZE 154 |
Definition at line 359 of file my_base.h.
Referenced by ha_init_errors(), mi_preload(), and ha_myisam::preload_keys().
| #define HA_ERR_NOT_A_TABLE 130 |
Definition at line 335 of file my_base.h.
Referenced by ha_init_errors(), mi_open(), myisamchk(), and handler::print_error().
| #define HA_ERR_NULL_IN_SPATIAL 158 |
Definition at line 363 of file my_base.h.
Referenced by handler::get_dup_key(), and handler::print_error().
| #define HA_ERR_OLD_FILE 132 |
Definition at line 337 of file my_base.h.
Referenced by ha_init_errors(), mi_open(), myisamchk(), and handler::print_error().
| #define HA_ERR_OUT_OF_MEM 128 |
Definition at line 334 of file my_base.h.
Referenced by _mi_ck_write_tree(), ha_tina::check(), ha_archive::check(), ha_archive::get_share(), ha_init_errors(), handler::ha_open(), mi_preload(), ha_tina::open(), ha_archive::open(), ha_archive::optimize(), ha_myisam::preload_keys(), handler::print_error(), ha_tina::repair(), QUICK_RANGE_SELECT::reset(), and ha_archive::write_row().
| #define HA_ERR_RBR_LOGGING_FAILED 161 |
| #define HA_ERR_READ_ONLY_TRANSACTION 148 |
Definition at line 353 of file my_base.h.
Referenced by ha_init_errors(), handler::print_error(), and print_lock_error().
| #define HA_ERR_RECORD_CHANGED 123 |
Definition at line 330 of file my_base.h.
Referenced by _mi_cmp_dynamic_record(), _mi_cmp_static_record(), ha_init_errors(), hp_rectest(), hp_search(), handler::print_error(), and test_update().
| #define HA_ERR_RECORD_DELETED 134 |
Definition at line 339 of file my_base.h.
Referenced by _mi_read_dynamic_record(), _mi_read_rnd_dynamic_record(), _mi_read_rnd_static_record(), _mi_read_static_record(), find_all_keys(), QUICK_ROR_UNION_SELECT::get_next(), QUICK_ROR_INTERSECT_SELECT::get_next(), ha_init_errors(), heap_rrnd(), heap_rsame(), heap_scan(), main(), mi_rsame(), mi_rsame_with_pos(), mysql_checksum_table(), mysql_ha_read(), handler::read_first_row(), remove_dup_with_compare(), remove_dup_with_hash_index(), rr_from_pointers(), rr_from_tempfile(), rr_quick(), rr_sequential(), run_test(), sort_delete_record(), and test_update().
| #define HA_ERR_RECORD_FILE_FULL 135 |
Definition at line 340 of file my_base.h.
Referenced by _mi_find_writepos(), _mi_write_static_record(), create_myisam_from_heap(), ha_init_errors(), myrg_open(), next_free_record_pos(), and handler::print_error().
| #define HA_ERR_ROW_IS_REFERENCED 152 |
Definition at line 357 of file my_base.h.
Referenced by ha_init_errors(), mysql_rm_table_part2(), and handler::print_error().
| #define HA_ERR_TABLE_DEF_CHANGED 159 |
Definition at line 364 of file my_base.h.
Referenced by ha_init_errors(), open_table_from_share(), and handler::print_error().
| #define HA_ERR_TABLE_EXIST 156 |
| #define HA_ERR_TABLE_NEEDS_UPGRADE 164 |
Definition at line 372 of file my_base.h.
Referenced by ha_init_errors(), and handler::print_error().
| #define HA_ERR_TABLE_READONLY 165 |
Definition at line 373 of file my_base.h.
Referenced by ha_init_errors(), handler::print_error(), and ha_myisammrg::write_row().
| #define HA_ERR_TO_BIG_ROW 139 |
Definition at line 344 of file my_base.h.
Referenced by _mi_update_blob_record(), _mi_write_blob_record(), and ha_init_errors().
| #define HA_ERR_UNKNOWN_CHARSET 142 |
| #define HA_ERR_UNSUPPORTED 138 |
Definition at line 343 of file my_base.h.
Referenced by ha_init_errors(), mi_open(), and handler::print_error().
| #define HA_ERR_WRONG_COMMAND 131 |
Definition at line 336 of file my_base.h.
Referenced by handler::add_index(), handler::analyze_partitions(), handler::bulk_update_row(), handler::change_partitions(), handler::check_and_repair(), handler::check_partitions(), ha_example::delete_all_rows(), ha_tina::delete_all_rows(), ha_archive::delete_all_rows(), handler::delete_all_rows(), ha_example::delete_row(), handler::delete_row(), handler::disable_indexes(), ha_myisam::disable_indexes(), ha_heap::disable_indexes(), handler::discard_or_import_tablespace(), handler::drop_partitions(), handler::dump(), handler::enable_indexes(), ha_myisam::enable_indexes(), ha_heap::enable_indexes(), handler::end_bulk_delete(), handler::exec_bulk_update(), handler::final_drop_index(), handler::ft_init(), handler::ft_read(), ha_init_errors(), ha_example::index_first(), handler::index_first(), ha_example::index_last(), handler::index_last(), ha_example::index_next(), handler::index_next(), ha_example::index_prev(), handler::index_prev(), handler::index_read(), handler::index_read_last(), myrg_write(), mysql_alter_table(), mysql_delete(), mysql_rename_table(), handler::net_read_dump(), handler::optimize_partitions(), handler::prepare_drop_index(), handler::print_error(), print_lock_error(), handler::rename_partitions(), ha_example::rename_table(), handler::repair_partitions(), handler::reset_auto_increment(), handler::restart_rnd_next(), ha_example::rnd_init(), ha_example::rnd_pos(), handler::rnd_same(), ha_example::update_row(), handler::update_row(), ha_example::write_row(), and handler::write_row().
| #define HA_ERR_WRONG_IN_RECORD 127 |
Definition at line 333 of file my_base.h.
Referenced by _mi_cmp_dynamic_record(), _mi_find_writepos(), _mi_get_block_info(), _mi_pack_rec_unpack(), _mi_read_cache(), _mi_read_dynamic_record(), _mi_read_pack_info(), _mi_read_pack_record(), _mi_read_rnd_dynamic_record(), _mi_read_rnd_pack_record(), _mi_read_rnd_static_record(), _mi_rec_unpack(), delete_dynamic_record(), ha_init_errors(), handler::print_error(), update_backward_delete_link(), and update_dynamic_record().
| #define HA_ERR_WRONG_INDEX 124 |
Definition at line 331 of file my_base.h.
Referenced by _mi_check_index(), _mi_read_key_record(), ha_init_errors(), heap_rkey(), heap_rnext(), heap_rprev(), heap_rsame(), mi_rnext_same(), mi_rsame(), mi_rsame_with_pos(), and myrg_rsame().
| #define HA_ERR_WRONG_MRG_TABLE_DEF 143 |
Definition at line 348 of file my_base.h.
Referenced by ha_init_errors(), myrg_open(), ha_myisammrg::open(), and handler::print_error().
| #define HA_FULLTEXT 128 |
Definition at line 213 of file my_base.h.
Referenced by _mi_calc_var_pack_key_length(), _mi_make_key(), _mi_pack_key(), add_key_part(), chk_index(), chk_key(), descript(), Item_func_match::fix_index(), ftparser_call_deinitializer(), ftparser_call_initializer(), get_schema_stat_record(), ha_blackhole::index_type(), ha_myisammrg::index_type(), ha_myisam::index_type(), main(), mi_open(), mi_sort_records(), myisamchk(), mysql_alter_table(), run_test(), sort_keys(), store_create_info(), SQL_SELECT::test_quick_select(), and writekeys().
| #define HA_GENERATED_KEY 8192 |
| #define HA_KEYFLAG_MASK |
Value:
(HA_NOSAME | HA_PACK_KEY | HA_AUTO_KEY | \ HA_BINARY_PACK_KEY | HA_FULLTEXT | HA_UNIQUE_CHECK | \ HA_SPATIAL | HA_NULL_ARE_EQUAL | HA_GENERATED_KEY)
Definition at line 220 of file my_base.h.
Referenced by compare_tables().
| #define HA_NO_SORT 256 |
| #define HA_NOSAME 1 |
Definition at line 209 of file my_base.h.
Referenced by _mi_ck_write_btree(), _mi_search(), _mi_search_pos(), best_access_path(), check_key_in_view(), check_quick_keys(), chk_index(), ha_heap::create(), create_myisam_tmp_table(), create_tmp_table(), descript(), find_record_with_key(), get_quick_keys(), get_quick_select_for_ref(), get_schema_constraints_record(), get_schema_key_column_usage_record(), get_schema_stat_record(), heap_extra_keyflag(), heap_rkey(), hp_rb_write_key(), hp_write_key(), last_uniq_key(), list_contains_unique_index(), main(), mi_disable_non_unique_index(), mi_extra(), mi_extra_keyflag(), mi_init_bulk_insert(), movepoint(), mysql_alter_table(), open_binary_frm(), pack_keys(), sort_key_write(), sort_keys(), store_create_info(), QUICK_RANGE_SELECT::unique_key_range(), ha_heap::update_key_stats(), and ha_archive::write_row().
| #define HA_NULL_ARE_EQUAL 2048 |
Definition at line 216 of file my_base.h.
Referenced by _mi_ck_write_btree(), ha_heap::create(), create_myisam_tmp_table(), create_tmp_table(), and heap_create().
| #define HA_NULL_PART 16 |
Definition at line 244 of file my_base.h.
Referenced by _mi_calc_var_pack_key_length(), _mi_get_binary_pack_key(), _mi_get_pack_key(), _mi_keylength(), _mi_keylength_part(), _mi_pack_key(), _mi_prefix_search(), _mi_print_key(), _mi_search(), _mi_search_pos(), descript(), mi_repair_by_sort(), mi_repair_parallel(), remove_key(), and setup_key_functions().
| #define HA_NULL_PART_KEY 64 |
Definition at line 228 of file my_base.h.
Referenced by best_access_path(), check_key_in_view(), get_quick_keys(), heap_create(), hp_write_key(), and sort_keys().
| #define HA_OFFSET_ERROR (~ (my_off_t) 0) |
Definition at line 478 of file my_base.h.
Referenced by _ft2_search(), _ft_make_key(), _ftb_init_index_search(), _mi_balance_page(), _mi_ck_real_delete(), _mi_ck_real_write_btree(), _mi_dpointer(), _mi_enlarge_root(), _mi_fetch_keypage(), _mi_find_writepos(), _mi_ft_convert_to_ft2(), _mi_get_block_info(), _mi_kpos(), _mi_new(), _mi_read_dynamic_record(), _mi_read_key_record(), _mi_read_pack_record(), _mi_read_static_record(), _mi_rec_pos(), _mi_search(), _mi_search_first(), _mi_search_last(), _mi_search_next(), _mi_search_pos(), _mi_split_page(), _mi_write_part_record(), _mi_write_static_record(), check_k_link(), chk_del(), chk_key(), descript(), flush_pending_blocks(), ft_boolean_find_relevance(), ft_boolean_read_next(), ft_init_boolean_search(), ftb_query_add_word(), main(), mi_check_status(), mi_delete_all_rows(), mi_extra(), mi_repair(), mi_repair_by_sort(), mi_repair_parallel(), mi_reset(), mi_rfirst(), mi_rkey(), mi_rlast(), mi_rnext(), mi_rnext_same(), mi_rprev(), mi_rrnd(), mi_rsame(), mi_sort_index(), mi_sort_records(), myisamchk_init(), myrg_rrnd(), ha_myisammrg::rnd_next(), run_test(), save_state(), save_state_mrg(), sort_ft_buf_flush(), sort_ft_key_write(), sort_insert_key(), sort_key_write(), test_rrnd(), unlink_deleted_block(), update_backward_delete_link(), update_dynamic_record(), w_search(), and write_dynamic_record().
| #define HA_OPEN_ABORT_IF_CRASHED 16 |
| #define HA_OPEN_ABORT_IF_LOCKED 0 |
Definition at line 43 of file my_base.h.
Referenced by main(), myisamchk(), ha_myisammrg::open(), open_isam_file(), open_table_from_share(), recreate_table(), and run_test().
| #define HA_OPEN_DELAY_KEY_WRITE 8 |
| #define HA_OPEN_FOR_REPAIR 32 |
Definition at line 49 of file my_base.h.
Referenced by mi_delete_table(), mi_open(), myisamchk(), mysql_check_table(), mysql_repair_table(), ha_tina::open(), ha_archive::open(), open_table_from_share(), and open_unireg_entry().
| #define HA_OPEN_FROM_SQL_LAYER 64 |
| #define HA_OPEN_IGNORE_IF_LOCKED 2 |
Definition at line 45 of file my_base.h.
Referenced by QUICK_RANGE_SELECT::init_ror_merged_scan(), mi_open(), myisamchk(), ha_myisam::open(), open_table_from_share(), and recreate_table().
| #define HA_OPEN_TMP_TABLE 4 |
Definition at line 46 of file my_base.h.
Referenced by mi_open(), ha_myisam::open(), open_table_from_share(), and open_tmp_table().
| #define HA_OPEN_WAIT_IF_LOCKED 1 |
Definition at line 44 of file my_base.h.
Referenced by examine_log(), mi_open(), myisamchk(), myrg_open(), ha_myisammrg::open(), ha_myisam::open(), open_isam_file(), open_table_from_share(), recreate_table(), reopen_closed_file(), and start_test().
| #define HA_OPTION_CHECKSUM 32 |
Definition at line 262 of file my_base.h.
Referenced by descript(), get_schema_tables_record(), mi_create(), mi_open(), mi_repair(), mi_repair_by_sort(), mi_repair_parallel(), mi_setup_functions(), mysql_alter_table(), ha_myisam::open(), and store_create_info().
| #define HA_OPTION_COMPRESS_RECORD 4 |
Definition at line 259 of file my_base.h.
Referenced by _mi_dpointer(), _mi_dpos(), _mi_insert(), _mi_rec_pos(), ha_myisam::check(), chk_key(), chk_size(), descript(), get_schema_tables_record(), mi_create(), mi_extra(), mi_open(), mi_repair(), mi_repair_by_sort(), mi_repair_parallel(), mi_setup_functions(), mi_status(), myisamchk(), myrg_open(), ha_myisam::open(), open_isam_file(), recreate_table(), save_state(), save_state_mrg(), set_data_file_type(), sort_delete_record(), sort_ft_key_write(), test_if_almost_full(), and write_data_suffix().
| #define HA_OPTION_CREATE_FROM_ENGINE 256 |
| #define HA_OPTION_DELAY_KEY_WRITE 64 |
Definition at line 263 of file my_base.h.
Referenced by descript(), get_schema_tables_record(), mi_create(), mi_open(), mysql_alter_table(), and store_create_info().
| #define HA_OPTION_LONG_BLOB_PTR 8 |
| #define HA_OPTION_NO_PACK_KEYS 128 |
Definition at line 264 of file my_base.h.
Referenced by get_schema_tables_record(), and store_create_info().
| #define HA_OPTION_PACK_KEYS 2 |
Definition at line 258 of file my_base.h.
Referenced by get_schema_tables_record(), mi_open(), mysql_alter_table(), and store_create_info().
| #define HA_OPTION_PACK_RECORD 1 |
Definition at line 257 of file my_base.h.
Referenced by _mi_dpointer(), _mi_dpos(), _mi_insert(), _mi_rec_pos(), ha_myisam::check(), chk_del(), chk_key(), compare_tables(), create_tmp_field_from_field(), descript(), get_schema_tables_record(), init_read_record(), make_empty_rec(), mi_create(), mi_extra(), mi_open(), mi_status(), myisamchk(), mysql_alter_table(), mysql_checksum_table(), mysql_create_frm(), mysql_create_table_internal(), mysql_prepare_table(), recreate_table(), set_data_file_type(), sort_ft_key_write(), and Field_string::type().
| #define HA_OPTION_READ_ONLY_DATA ((uint) 32768) |
Definition at line 268 of file my_base.h.
Referenced by handler::ha_open(), mi_close(), mi_create(), mi_delete_all_rows(), mi_lock_database(), mi_open(), mi_panic(), mi_write(), myisamchk(), myrg_open(), open_isam_file(), recreate_table(), save_state(), and save_state_mrg().
| #define HA_OPTION_RELIES_ON_SQL_LAYER 512 |
| #define HA_OPTION_TEMP_COMPRESS_RECORD ((uint) 16384) |
Definition at line 267 of file my_base.h.
Referenced by mi_create(), mi_open(), mi_setup_functions(), and recreate_table().
| #define HA_OPTION_TMP_TABLE 16 |
| #define HA_PACK_KEY 2 |
Definition at line 210 of file my_base.h.
Referenced by _mi_find_half_pos(), _mi_find_last_pos(), _mi_get_pack_key(), _mi_insert(), create_myisam_tmp_table(), descript(), get_one_option(), main(), remove_key(), run_test(), and setup_key_functions().
| #define HA_PACK_RECORD 2 |
| #define HA_PART_KEY_SEG 4 |
| #define HA_POS_ERROR (~ (ha_rows) 0) |
Definition at line 477 of file my_base.h.
Referenced by _create_index_by_sort(), _mi_record_pos(), check_quick_keys(), check_quick_select(), copy_data_between_tables(), cost_group_min_max(), db_load_routine(), ha_tina::estimate_rows_upper_bound(), filesort(), find_all_keys(), fix_max_join_size(), ft_nlq_find_relevance(), get_exact_record_count(), get_key_scans_params(), handle_bootstrap(), handle_one_connection(), hp_rb_records_in_range(), JOIN::init(), TRP_GROUP_MIN_MAX::make_quick(), mi_records_in_range(), myrg_records_in_range(), mysql_delete(), mysql_derived_filling(), mysql_execute_command(), mysql_init_multi_delete(), mysql_init_variables(), mysql_load(), mysql_truncate(), mysql_update(), JOIN::optimize(), prepare_simple_select(), ha_heap::records_in_range(), ror_scan_selectivity(), Item_func_group_concat::setup(), Item_sum_count_distinct::setup(), SQL_SELECT::test_quick_select(), and tree_record_pos().
| #define HA_REVERSE_SORT 128 |
Definition at line 247 of file my_base.h.
Referenced by descript(), get_schema_stat_record(), ha_key_cmp(), main(), open_binary_frm(), and test_if_order_by_key().
| #define HA_SORT_ALLOWS_SAME 512 |
Definition at line 231 of file my_base.h.
Referenced by _mi_ck_write_btree(), and mi_sort_records().
| #define HA_SPACE_PACK 1 |
Definition at line 241 of file my_base.h.
Referenced by _mi_get_binary_pack_key(), _mi_get_pack_key(), _mi_keylength(), _mi_keylength_part(), _mi_make_key(), _mi_pack_key(), _mi_prefix_search(), _mi_print_key(), _mi_put_key_in_record(), create_key_part(), create_myisam_tmp_table(), descript(), get_one_option(), ha_find_null(), ha_key_cmp(), main(), mi_repair_by_sort(), and mi_repair_parallel().
| #define HA_SPACE_PACK_USED 4 |
Definition at line 226 of file my_base.h.
Referenced by _mi_find_half_pos(), _mi_find_last_pos(), and remove_key().
| #define HA_SPATIAL 1024 |
Definition at line 215 of file my_base.h.
Referenced by _mi_make_key(), chk_index(), chk_key(), get_best_group_min_max(), get_quick_select(), ha_blackhole::index_type(), ha_myisammrg::index_type(), ha_myisam::index_type(), mi_disable_non_unique_index(), mi_open(), mi_too_big_key_for_sort(), mysql_alter_table(), store_create_info(), store_key_options(), SQL_SELECT::test_quick_select(), and writekeys().
| #define HA_STATE_AKTIV 2 |
Definition at line 415 of file my_base.h.
Referenced by _mi_pack_rec_unpack(), _mi_read_dynamic_record(), _mi_read_key_record(), _mi_read_pack_record(), _mi_read_rnd_dynamic_record(), _mi_read_rnd_pack_record(), _mi_read_rnd_static_record(), _mi_read_static_record(), _mi_test_if_changed(), _myrg_mi_read_record(), ft_boolean_read_next(), ft_init_nlq_search(), ft_nlq_read_next(), heap_position(), heap_rfirst(), heap_rkey(), heap_rlast(), heap_rnext(), heap_rprev(), heap_rrnd(), heap_scan(), heap_write(), mi_delete(), mi_rkey(), mi_rnext(), mi_rprev(), mi_update(), and walk_and_match().
| #define HA_STATE_CHANGED 1 |
Definition at line 414 of file my_base.h.
Referenced by _mi_check_index(), ha_myisam::check(), ft_boolean_read_next(), ft_nlq_read_next(), mi_disable_non_unique_index(), mi_extra(), mi_records_in_range(), mi_repair(), mi_repair_by_sort(), mi_repair_parallel(), mi_reset(), mi_rkey(), mi_rnext(), mi_rprev(), mi_rrnd(), mi_rsame(), mi_rsame_with_pos(), mi_scan(), mi_sort_index(), mrg_rrnd(), myisamchk(), myrg_rrnd(), and ha_myisam::repair().
| #define HA_STATE_DELETED 8 |
Definition at line 417 of file my_base.h.
Referenced by _mi_test_if_changed(), heap_delete(), heap_rprev(), and mi_rsame().
| #define HA_STATE_EXTEND_BLOCK 2048 |
Definition at line 425 of file my_base.h.
Referenced by _mi_cmp_dynamic_record(), _mi_write_part_record(), mi_extra(), and update_dynamic_record().
| #define HA_STATE_KEY_CHANGED 128 |
Definition at line 421 of file my_base.h.
Referenced by _mi_read_rnd_dynamic_record(), _mi_read_rnd_pack_record(), _mi_read_rnd_static_record(), _mi_test_if_changed(), and mi_rsame_with_pos().
| #define HA_STATE_NEXT_FOUND 16 |
Definition at line 418 of file my_base.h.
Referenced by _mi_check_index(), heap_rlast(), heap_rnext(), heap_rprev(), heap_rrnd(), heap_scan(), mi_extra(), mi_reset(), mi_rkey(), mi_rlast(), mi_rnext(), and mi_rprev().
| #define HA_STATE_PREV_FOUND 32 |
Definition at line 419 of file my_base.h.
Referenced by _mi_check_index(), heap_rfirst(), heap_rprev(), heap_rrnd(), heap_scan(), main(), mi_extra(), mi_reset(), mi_rfirst(), mi_rnext(), and mi_rprev().
| #define HA_STATE_RNEXT_SAME 4096 |
Definition at line 426 of file my_base.h.
Referenced by _mi_put_key_in_record(), mi_check_unique(), and mi_rnext_same().
| #define HA_STATE_ROW_CHANGED 1024 |
Definition at line 424 of file my_base.h.
Referenced by _mi_check_index(), ha_myisam::check(), ft_boolean_read_next(), ft_nlq_read_next(), mi_extra(), mi_records_in_range(), mi_repair(), mi_repair_by_sort(), mi_repair_parallel(), mi_rkey(), mi_rnext(), mi_rprev(), mi_rrnd(), mi_rsame(), mi_rsame_with_pos(), mi_scan(), mi_sort_index(), myisamchk(), and ha_myisam::repair().
| #define HA_STATE_WRITE_AT_END 256 |
Definition at line 422 of file my_base.h.
Referenced by _mi_cmp_dynamic_record(), _mi_find_writepos(), _mi_write_part_record(), mi_extra(), sort_write_record(), and update_dynamic_record().
| #define HA_STATE_WRITTEN 4 |
Definition at line 416 of file my_base.h.
Referenced by _mi_test_if_changed(), mi_delete_all_rows(), and mi_extra().
| #define HA_STATUS_AUTO 64 |
Definition at line 320 of file my_base.h.
Referenced by ha_myisam::get_auto_increment(), ha_heap::get_auto_increment(), get_schema_tables_record(), heap_info(), ha_blackhole::info(), ha_archive::info(), ha_myisam::info(), ha_heap::info(), mi_status(), mysql_truncate(), ha_archive::update_create_info(), ha_myisam::update_create_info(), and ha_heap::update_create_info().
| #define HA_STATUS_CONST 8 |
Definition at line 304 of file my_base.h.
Referenced by ha_myisam::check(), ha_myisam::disable_indexes(), ha_myisam::enable_indexes(), handler::get_dynamic_partition_info(), ha_myisammrg::info(), ha_myisam::info(), main(), mi_status(), mysql_admin_table(), ha_myisammrg::open(), ha_myisam::open(), ha_myisam::repair(), ha_archive::update_create_info(), and ha_myisam::update_create_info().
| #define HA_STATUS_ERRKEY 32 |
Definition at line 316 of file my_base.h.
Referenced by handler::get_dup_key(), ha_myisam::info(), and mi_status().
| #define HA_STATUS_NO_LOCK 2 |
Definition at line 295 of file my_base.h.
Referenced by ha_myisam::check(), handler::get_dup_key(), handler::get_dynamic_partition_info(), get_referential_constraints_record(), get_schema_column_record(), get_schema_constraints_record(), get_schema_key_column_usage_record(), get_schema_stat_record(), get_schema_tables_record(), make_join_statistics(), mi_status(), mysql_delete(), mysql_truncate(), ha_myisammrg::open(), ha_myisam::open(), opt_sum_query(), ha_myisam::repair(), and Item_sum_count_distinct::val_int().
| #define HA_STATUS_POS 1 |
| #define HA_STATUS_TIME 4 |
Definition at line 297 of file my_base.h.
Referenced by ha_myisam::check(), handler::get_dynamic_partition_info(), get_referential_constraints_record(), get_schema_constraints_record(), get_schema_key_column_usage_record(), get_schema_stat_record(), get_schema_tables_record(), ha_archive::info(), ha_myisam::info(), mi_status(), and ha_myisam::repair().
| #define HA_STATUS_VARIABLE 16 |
Definition at line 310 of file my_base.h.
Referenced by ha_myisam::check(), copy_data_between_tables(), create_myisam_from_heap(), create_sort_index(), end_send(), JOIN::exec(), handler::get_dynamic_partition_info(), get_referential_constraints_record(), get_schema_column_record(), get_schema_constraints_record(), get_schema_key_column_usage_record(), get_schema_stat_record(), get_schema_tables_record(), ha_myisam::info(), main(), make_join_statistics(), mi_status(), mysql_delete(), mysql_derived_prepare(), ha_myisammrg::open(), ha_myisam::open(), opt_sum_query(), remove_duplicates(), ha_myisam::repair(), start_test(), and Item_sum_count_distinct::val_int().
| #define HA_SWAP_KEY 64 |
Definition at line 246 of file my_base.h.
Referenced by _mi_make_key(), _mi_pack_key(), _mi_put_key_in_record(), heap_create(), hp_rb_make_key(), and hp_rb_pack_key().
| #define HA_USES_BLOCK_SIZE ((uint) 32768) |
Definition at line 230 of file my_base.h.
Referenced by mysql_alter_table(), and store_key_options().
| #define HA_USES_PARSER 16384 |
Definition at line 229 of file my_base.h.
Referenced by closefrm(), mysql_alter_table(), ha_myisam::open(), and open_binary_frm().
| #define HA_VAR_LENGTH_KEY 8 |
Definition at line 227 of file my_base.h.
Referenced by _create_index_by_sort(), _mi_find_half_pos(), _mi_find_last_pos(), _mi_get_key(), _mi_get_last_key(), _mi_get_prev_key(), _mi_insert(), _mi_keylength(), _mi_keynr(), heap_create(), mi_rkey(), mi_too_big_key_for_sort(), remove_key(), and setup_key_functions().
| #define HA_VAR_LENGTH_PART 8 |
Definition at line 243 of file my_base.h.
Referenced by _mi_ft_segiterator(), _mi_get_binary_pack_key(), _mi_get_pack_key(), _mi_keylength(), _mi_keylength_part(), _mi_make_key(), _mi_pack_key(), _mi_prefix_search(), _mi_put_key_in_record(), create_key(), get_one_option(), hp_rb_make_key(), hp_rb_pack_key(), hp_rb_var_key_length(), key_cmp_if_same(), key_copy(), key_restore(), mi_repair_by_sort(), mi_repair_parallel(), mi_unique_comp(), mi_unique_hash(), and run_test().
| #define HA_VARCHAR_PACKLENGTH | ( | field_length | ) | ((field_length) < 256 ? 1 :2) |
Definition at line 486 of file my_base.h.
Referenced by _mi_rec_check(), _mi_rec_pack(), _mi_rec_unpack(), create_record(), make_field(), mi_checksum(), run_test(), and update_record().
| #define HA_WRONG_CREATE_OPTION 140 |
| #define KEY_READ_USED 8 |
| #define NEAR_MAX 8 |
Definition at line 445 of file my_base.h.
Referenced by check_quick_keys(), SEL_ARG::clone_first(), QUICK_RANGE_SELECT::cmp_next(), SEL_ARG::copy_max_to_min(), SEL_ARG::copy_min_to_max(), QUICK_RANGE_SELECT::dbug_dump(), get_constant_key_infix(), get_mm_leaf(), QUICK_SELECT_DESC::get_next(), QUICK_RANGE_SELECT::get_next(), QUICK_RANGE_SELECT::get_next_prefix(), matching_cond(), QUICK_GROUP_MIN_MAX_SELECT::next_max_in_range(), QUICK_GROUP_MIN_MAX_SELECT::next_min_in_range(), opt_sum_query(), QUICK_SELECT_DESC::range_reads_after_key(), sel_cmp(), SEL_ARG::store(), and SEL_ARG::store_max_key().
| #define NEAR_MIN 4 |
Definition at line 444 of file my_base.h.
Referenced by check_quick_keys(), SEL_ARG::clone_first(), QUICK_RANGE_SELECT::cmp_prev(), SEL_ARG::copy_max_to_min(), SEL_ARG::copy_min_to_max(), QUICK_RANGE_SELECT::dbug_dump(), find_key_for_maxmin(), get_constant_key_infix(), get_func_mm_tree(), get_mm_leaf(), QUICK_RANGE_SELECT::get_next(), QUICK_RANGE_SELECT::get_next_prefix(), matching_cond(), QUICK_GROUP_MIN_MAX_SELECT::next_max_in_range(), QUICK_GROUP_MIN_MAX_SELECT::next_min_in_range(), opt_sum_query(), sel_cmp(), SEL_ARG::store_min(), and SEL_ARG::store_min_key().
| #define NO_MAX_RANGE 2 |
Definition at line 443 of file my_base.h.
Referenced by QUICK_GROUP_MIN_MAX_SELECT::add_range(), QUICK_RANGE_SELECT::cmp_next(), SEL_ARG::copy_max(), SEL_ARG::copy_min(), QUICK_RANGE_SELECT::dbug_dump(), find_key_for_maxmin(), get_constant_key_infix(), get_mm_leaf(), QUICK_SELECT_DESC::get_next(), get_quick_keys(), key_or(), matching_cond(), QUICK_GROUP_MIN_MAX_SELECT::next_max_in_range(), QUICK_GROUP_MIN_MAX_SELECT::next_min_in_range(), QUICK_SELECT_DESC::range_reads_after_key(), reckey_in_range(), sel_cmp(), SEL_ARG::store(), SEL_ARG::store_max_key(), SEL_ARG::store_min_key(), and QUICK_GROUP_MIN_MAX_SELECT::update_key_stat().
| #define NO_MIN_RANGE 1 |
Definition at line 442 of file my_base.h.
Referenced by QUICK_GROUP_MIN_MAX_SELECT::add_range(), QUICK_RANGE_SELECT::cmp_prev(), SEL_ARG::copy_max(), SEL_ARG::copy_min(), QUICK_RANGE_SELECT::dbug_dump(), find_key_for_maxmin(), get_constant_key_infix(), get_mm_leaf(), get_quick_keys(), key_or(), matching_cond(), QUICK_GROUP_MIN_MAX_SELECT::next_max_in_range(), QUICK_GROUP_MIN_MAX_SELECT::next_min_in_range(), reckey_in_range(), sel_cmp(), SEL_ARG::store_max_key(), SEL_ARG::store_min(), SEL_ARG::store_min_key(), and QUICK_GROUP_MIN_MAX_SELECT::update_key_stat().
| #define NO_SUCH_KEY ((uint)~0) |
Definition at line 382 of file my_base.h.
Referenced by _ftb_climb_the_tree(), _ftb_init_index_search(), add_ft_keys(), Item_func_match::fix_fields(), Item_func_match::fix_index(), ft_boolean_find_relevance(), ft_init_boolean_search(), Item_func_match::init_search(), and Item_func_match::val_real().
| #define NULL_RANGE 64 |
Definition at line 448 of file my_base.h.
Referenced by QUICK_GROUP_MIN_MAX_SELECT::add_range(), get_quick_keys(), QUICK_GROUP_MIN_MAX_SELECT::next_min_in_range(), and QUICK_RANGE_SELECT::unique_key_range().
| #define OPT_NO_ROWS 32 |
| #define READ_CACHE_USED 2 |
Definition at line 407 of file my_base.h.
Referenced by _mi_read_rnd_dynamic_record(), _mi_read_rnd_pack_record(), _mi_read_rnd_static_record(), mi_close(), mi_extra(), mi_lock_database(), mi_panic(), and mi_reset().
| #define READ_CHECK_USED 4 |
Definition at line 408 of file my_base.h.
Referenced by _mi_cmp_dynamic_record(), _mi_cmp_static_record(), heap_delete(), heap_extra(), heap_open(), heap_update(), and mi_extra().
Definition at line 473 of file my_base.h.
Referenced by best_access_path(), cmp_ror_scan_info(), get_best_covering_ror_intersect(), get_best_disjunct_quick(), get_sweep_read_cost(), handler::read_time(), ror_intersect_add(), and ror_scan_selectivity().
| #define SEARCH_BIGGER 8 |
Definition at line 390 of file my_base.h.
Referenced by _ft2_search(), _mi_ck_write_btree(), _mi_prefix_search(), _mi_search(), _mi_search_next(), mi_check_unique(), mi_rnext(), mi_rnext_same(), and walk_and_match().
| #define SEARCH_FIND 1 |
Definition at line 387 of file my_base.h.
Referenced by _ft2_search(), _mi_ck_real_delete(), _mi_ck_write_btree(), _mi_record_pos(), _mi_search(), _mi_search_pos(), check_one_rb_key(), chk_index(), d_search(), ha_key_cmp(), heap_rkey(), heap_rnext(), hp_rb_records_in_range(), hp_rb_write_key(), mi_check_unique(), mi_collect_stats_nonulls_next(), mi_rkey(), mi_rnext_same(), queue_key_cmp(), sort_key_write(), w_search(), and walk_and_match().
| #define SEARCH_LAST 256 |
Definition at line 395 of file my_base.h.
Referenced by _mi_prefix_search(), _mi_record_pos(), _mi_search(), and mi_rkey().
| #define SEARCH_NO_FIND 2 |
Definition at line 388 of file my_base.h.
Referenced by _mi_prefix_search(), _mi_record_pos(), and mi_rkey().
| #define SEARCH_NULL_ARE_EQUAL 32768 |
| #define SEARCH_NULL_ARE_NOT_EQUAL 65536 |
Definition at line 403 of file my_base.h.
Referenced by chk_index(), ha_key_cmp(), mi_collect_stats_nonulls_next(), and sort_key_write().
| #define SEARCH_PREFIX 128 |
| #define SEARCH_SAME 4 |
Definition at line 389 of file my_base.h.
Referenced by _ft2_search(), _mi_ck_real_delete(), _mi_ck_write_btree(), _mi_ft_convert_to_ft2(), check_one_rb_key(), chk_index(), d_search(), ha_key_cmp(), heap_rkey(), heap_rnext(), heap_rprev(), hp_rb_delete_key(), hp_rb_records_in_range(), hp_rb_write_key(), keys_compare(), mi_rsame(), movepoint(), sort_key_cmp(), and w_search().
| #define SEARCH_SAVE_BUFF 32 |
Definition at line 392 of file my_base.h.
Referenced by _mi_record_pos(), _mi_search(), _mi_search_next(), and movepoint().
| #define SEARCH_SMALLER 16 |
Definition at line 391 of file my_base.h.
Referenced by _mi_search(), _myrg_init_queue(), and mi_rprev().
| #define SEARCH_UPDATE 64 |
Definition at line 393 of file my_base.h.
Referenced by _mi_ck_real_delete(), _mi_ck_write_btree(), chk_index(), ha_key_cmp(), hp_rb_write_key(), and sort_key_write().
| #define UNIQUE_RANGE 16 |
Definition at line 446 of file my_base.h.
Referenced by QUICK_SELECT_DESC::get_next(), QUICK_RANGE_SELECT::get_next_prefix(), get_quick_keys(), and handler::read_multi_range_next().
| #define WRITE_CACHE_USED 16 |
Definition at line 410 of file my_base.h.
Referenced by _mi_check_index(), _mi_cmp_dynamic_record(), _mi_cmp_static_record(), _mi_read_dynamic_record(), _mi_read_rnd_dynamic_record(), _mi_read_rnd_static_record(), _mi_read_static_record(), _mi_write_part_record(), _mi_write_static_record(), mi_close(), mi_extra(), mi_lock_database(), mi_panic(), mi_repair(), mi_repair_by_sort(), mi_repair_parallel(), mi_reset(), mi_rrnd(), mi_scan_init(), mi_sort_records(), and mi_update_status().
| typedef struct st_key_multi_range KEY_MULTI_RANGE |
| typedef struct st_key_range key_range |
| enum data_file_type |
Definition at line 436 of file my_base.h.
00436 { 00437 STATIC_RECORD,DYNAMIC_RECORD,COMPRESSED_RECORD 00438 };
| enum en_fieldtype |
| FIELD_LAST | |
| FIELD_NORMAL | |
| FIELD_SKIP_ENDSPACE | |
| FIELD_SKIP_PRESPACE | |
| FIELD_SKIP_ZERO | |
| FIELD_BLOB | |
| FIELD_CONSTANT | |
| FIELD_INTERVALL | |
| FIELD_ZERO | |
| FIELD_VARCHAR | |
| FIELD_CHECK | |
| FIELD_enum_val_count |
Definition at line 429 of file my_base.h.
00429 { 00430 FIELD_LAST=-1,FIELD_NORMAL,FIELD_SKIP_ENDSPACE,FIELD_SKIP_PRESPACE, 00431 FIELD_SKIP_ZERO,FIELD_BLOB,FIELD_CONSTANT,FIELD_INTERVALL,FIELD_ZERO, 00432 FIELD_VARCHAR,FIELD_CHECK, 00433 FIELD_enum_val_count 00434 };
| enum ha_base_keytype |
Definition at line 180 of file my_base.h.
00180 { 00181 HA_KEYTYPE_END=0, 00182 HA_KEYTYPE_TEXT=1, /* Key is sorted as letters */ 00183 HA_KEYTYPE_BINARY=2, /* Key is sorted as unsigned chars */ 00184 HA_KEYTYPE_SHORT_INT=3, 00185 HA_KEYTYPE_LONG_INT=4, 00186 HA_KEYTYPE_FLOAT=5, 00187 HA_KEYTYPE_DOUBLE=6, 00188 HA_KEYTYPE_NUM=7, /* Not packed num with pre-space */ 00189 HA_KEYTYPE_USHORT_INT=8, 00190 HA_KEYTYPE_ULONG_INT=9, 00191 HA_KEYTYPE_LONGLONG=10, 00192 HA_KEYTYPE_ULONGLONG=11, 00193 HA_KEYTYPE_INT24=12, 00194 HA_KEYTYPE_UINT24=13, 00195 HA_KEYTYPE_INT8=14, 00196 /* Varchar (0-255 bytes) with length packed with 1 byte */ 00197 HA_KEYTYPE_VARTEXT1=15, /* Key is sorted as letters */ 00198 HA_KEYTYPE_VARBINARY1=16, /* Key is sorted as unsigned chars */ 00199 /* Varchar (0-65535 bytes) with length packed with 2 bytes */ 00200 HA_KEYTYPE_VARTEXT2=17, /* Key is sorted as letters */ 00201 HA_KEYTYPE_VARBINARY2=18, /* Key is sorted as unsigned chars */ 00202 HA_KEYTYPE_BIT=19 00203 };
| enum ha_extra_function |
Definition at line 101 of file my_base.h.
00101 { 00102 HA_EXTRA_NORMAL=0, /* Optimize for space (def) */ 00103 HA_EXTRA_QUICK=1, /* Optimize for speed */ 00104 HA_EXTRA_NOT_USED=2, 00105 HA_EXTRA_CACHE=3, /* Cache record in HA_rrnd() */ 00106 HA_EXTRA_NO_CACHE=4, /* End caching of records (def) */ 00107 HA_EXTRA_NO_READCHECK=5, /* No readcheck on update */ 00108 HA_EXTRA_READCHECK=6, /* Use readcheck (def) */ 00109 HA_EXTRA_KEYREAD=7, /* Read only key to database */ 00110 HA_EXTRA_NO_KEYREAD=8, /* Normal read of records (def) */ 00111 HA_EXTRA_NO_USER_CHANGE=9, /* No user is allowed to write */ 00112 HA_EXTRA_KEY_CACHE=10, 00113 HA_EXTRA_NO_KEY_CACHE=11, 00114 HA_EXTRA_WAIT_LOCK=12, /* Wait until file is avalably (def) */ 00115 HA_EXTRA_NO_WAIT_LOCK=13, /* If file is locked, return quickly */ 00116 HA_EXTRA_WRITE_CACHE=14, /* Use write cache in ha_write() */ 00117 HA_EXTRA_FLUSH_CACHE=15, /* flush write_record_cache */ 00118 HA_EXTRA_NO_KEYS=16, /* Remove all update of keys */ 00119 HA_EXTRA_KEYREAD_CHANGE_POS=17, /* Keyread, but change pos */ 00120 /* xxxxchk -r must be used */ 00121 HA_EXTRA_REMEMBER_POS=18, /* Remember pos for next/prev */ 00122 HA_EXTRA_RESTORE_POS=19, 00123 HA_EXTRA_REINIT_CACHE=20, /* init cache from current record */ 00124 HA_EXTRA_FORCE_REOPEN=21, /* Datafile have changed on disk */ 00125 HA_EXTRA_FLUSH, /* Flush tables to disk */ 00126 HA_EXTRA_NO_ROWS, /* Don't write rows */ 00127 HA_EXTRA_RESET_STATE, /* Reset positions */ 00128 HA_EXTRA_IGNORE_DUP_KEY, /* Dup keys don't rollback everything*/ 00129 HA_EXTRA_NO_IGNORE_DUP_KEY, 00130 HA_EXTRA_PREPARE_FOR_DELETE, 00131 HA_EXTRA_PREPARE_FOR_UPDATE, /* Remove read cache if problems */ 00132 HA_EXTRA_PRELOAD_BUFFER_SIZE, /* Set buffer size for preloading */ 00133 /* 00134 On-the-fly switching between unique and non-unique key inserting. 00135 */ 00136 HA_EXTRA_CHANGE_KEY_TO_UNIQUE, 00137 HA_EXTRA_CHANGE_KEY_TO_DUP, 00138 /* 00139 When using HA_EXTRA_KEYREAD, overwrite only key member fields and keep 00140 other fields intact. When this is off (by default) InnoDB will use memcpy 00141 to overwrite entire row. 00142 */ 00143 HA_EXTRA_KEYREAD_PRESERVE_FIELDS, 00144 HA_EXTRA_MMAP, 00145 /* 00146 Ignore if the a tuple is not found, continue processing the 00147 transaction and ignore that 'row'. Needed for idempotency 00148 handling on the slave 00149 00150 Currently only used by NDB storage engine. Partition handler ignores flag. 00151 */ 00152 HA_EXTRA_IGNORE_NO_KEY, 00153 HA_EXTRA_NO_IGNORE_NO_KEY, 00154 /* 00155 Mark the table as a log table. For some handlers (e.g. CSV) this results 00156 in a special locking for the table. 00157 */ 00158 HA_EXTRA_MARK_AS_LOG_TABLE, 00159 /* 00160 Informs handler that write_row() which tries to insert new row into the 00161 table and encounters some already existing row with same primary/unique 00162 key can replace old row with new row instead of reporting error (basically 00163 it informs handler that we do REPLACE instead of simple INSERT). 00164 Off by default. 00165 */ 00166 HA_EXTRA_WRITE_CAN_REPLACE, 00167 HA_EXTRA_WRITE_CANNOT_REPLACE 00168 };
| enum ha_key_alg |
Definition at line 91 of file my_base.h.
00091 { 00092 HA_KEY_ALG_UNDEF= 0, /* Not specified (old file) */ 00093 HA_KEY_ALG_BTREE= 1, /* B-tree, default one */ 00094 HA_KEY_ALG_RTREE= 2, /* R-tree, for spatial searches */ 00095 HA_KEY_ALG_HASH= 3, /* HASH keys (HEAP tables) */ 00096 HA_KEY_ALG_FULLTEXT= 4 /* FULLTEXT (MyISAM tables) */ 00097 };
| enum ha_panic_function |
Definition at line 172 of file my_base.h.
00172 { 00173 HA_PANIC_CLOSE, /* Close all databases */ 00174 HA_PANIC_WRITE, /* Unlock and write status */ 00175 HA_PANIC_READ /* Lock and read keyinfo */ 00176 };
| enum ha_rkey_function |
Definition at line 73 of file my_base.h.
00073 { 00074 HA_READ_KEY_EXACT, /* Find first record else error */ 00075 HA_READ_KEY_OR_NEXT, /* Record or next record */ 00076 HA_READ_KEY_OR_PREV, /* Record or previous */ 00077 HA_READ_AFTER_KEY, /* Find next rec. after key-record */ 00078 HA_READ_BEFORE_KEY, /* Find next rec. before key-record */ 00079 HA_READ_PREFIX, /* Key which as same prefix */ 00080 HA_READ_PREFIX_LAST, /* Last key with the same prefix */ 00081 HA_READ_PREFIX_LAST_OR_PREV, /* Last or prev key with the same prefix */ 00082 HA_READ_MBR_CONTAIN, 00083 HA_READ_MBR_INTERSECT, 00084 HA_READ_MBR_WITHIN, 00085 HA_READ_MBR_DISJOINT, 00086 HA_READ_MBR_EQUAL 00087 };
1.4.7

