#include "univ.i"#include "ut0byte.h"Include dependency graph for mach0data.h:

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

Go to the source code of this file.
| UNIV_INLINE double mach_double_read | ( | byte * | b | ) |
| UNIV_INLINE void mach_double_write | ( | byte * | b, | |
| double | d | |||
| ) |
Definition at line 84 of file mach0data.c.
References mach_get_compressed_size(), mach_read_compressed(), mach_read_from_4(), NULL, ut_ad, and ut_dulint_create().
Referenced by mlog_parse_nbytes(), row_upd_parse_sys_vals(), and trx_undo_parse_page_header().
00086 : pointer to end of the stored field, NULL if 00087 not complete */ 00088 byte* ptr, /* in: pointer to buffer from where to read */ 00089 byte* end_ptr,/* in: pointer to end of the buffer */ 00090 dulint* val) /* out: read value */ 00091 { 00092 ulint high; 00093 ulint low; 00094 ulint size; 00095 00096 ut_ad(ptr && end_ptr && val); 00097 00098 if (end_ptr < ptr + 5) { 00099 00100 return(NULL); 00101 } 00102 00103 high = mach_read_compressed(ptr); 00104 00105 size = mach_get_compressed_size(high); 00106 00107 ptr += size; 00108 00109 if (end_ptr < ptr + 4) { 00110 00111 return(NULL); 00112 } 00113 00114 low = mach_read_from_4(ptr); 00115 00116 *val = ut_dulint_create(high, low); 00117 00118 return(ptr + 4); 00119 }
Here is the call graph for this function:

Here is the caller graph for this function:

Referenced by mlog_write_dulint(), row_upd_write_sys_vals_to_log(), and trx_undo_page_report_modify().
Here is the caller graph for this function:

Referenced by trx_undo_page_report_insert(), and trx_undo_page_report_modify().
Here is the caller graph for this function:

| UNIV_INLINE float mach_float_read | ( | byte * | b | ) |
| UNIV_INLINE void mach_float_write | ( | byte * | b, | |
| float | d | |||
| ) |
Referenced by mach_dulint_parse_compressed(), trx_undo_rec_get_col_val(), trx_undo_update_rec_get_field_no(), and trx_undo_update_rec_get_n_upd_fields().
Here is the caller graph for this function:

Definition at line 20 of file mach0data.c.
References flag, mach_read_from_1(), mach_read_from_2(), mach_read_from_3(), mach_read_from_4(), NULL, and ut_ad.
Referenced by mlog_parse_initial_log_record(), mlog_parse_nbytes(), page_cur_parse_insert_rec(), row_upd_index_parse(), row_upd_parse_sys_vals(), and trx_undo_parse_page_init().
00022 : pointer to end of the stored field, NULL if 00023 not complete */ 00024 byte* ptr, /* in: pointer to buffer from where to read */ 00025 byte* end_ptr,/* in: pointer to end of the buffer */ 00026 ulint* val) /* out: read value (< 2^32) */ 00027 { 00028 ulint flag; 00029 00030 ut_ad(ptr && end_ptr && val); 00031 00032 if (ptr >= end_ptr) { 00033 00034 return(NULL); 00035 } 00036 00037 flag = mach_read_from_1(ptr); 00038 00039 if (flag < 0x80UL) { 00040 *val = flag; 00041 return(ptr + 1); 00042 00043 } else if (flag < 0xC0UL) { 00044 if (end_ptr < ptr + 2) { 00045 return(NULL); 00046 } 00047 00048 *val = mach_read_from_2(ptr) & 0x7FFFUL; 00049 00050 return(ptr + 2); 00051 00052 } else if (flag < 0xE0UL) { 00053 if (end_ptr < ptr + 3) { 00054 return(NULL); 00055 } 00056 00057 *val = mach_read_from_3(ptr) & 0x3FFFFFUL; 00058 00059 return(ptr + 3); 00060 } else if (flag < 0xF0UL) { 00061 if (end_ptr < ptr + 4) { 00062 return(NULL); 00063 } 00064 00065 *val = mach_read_from_4(ptr) & 0x1FFFFFFFUL; 00066 00067 return(ptr + 4); 00068 } else { 00069 ut_ad(flag == 0xF0UL); 00070 00071 if (end_ptr < ptr + 5) { 00072 return(NULL); 00073 } 00074 00075 *val = mach_read_from_4(ptr + 1); 00076 return(ptr + 5); 00077 } 00078 }
Here is the call graph for this function:

Here is the caller graph for this function:

Referenced by mach_dulint_parse_compressed(), trx_undo_rec_get_col_val(), trx_undo_update_rec_get_field_no(), and trx_undo_update_rec_get_n_upd_fields().
Here is the caller graph for this function:

Referenced by btr_cur_mark_dtuple_inherited_extern(), btr_cur_parse_del_mark_set_clust_rec(), btr_cur_parse_del_mark_set_sec_rec(), btr_cur_parse_update_in_place(), btr_cur_set_ownership_of_extern_field(), btr_cur_unmark_dtuple_extern_fields(), btr_free_externally_stored_field(), ibuf_bitmap_page_get_bits(), ibuf_bitmap_page_set_bits(), mach_parse_compressed(), mtr_read_ulint(), page_cur_parse_insert_rec(), row_mysql_read_true_varchar(), row_upd_index_parse(), trx_undo_rec_get_pars(), and trx_undo_update_rec_get_sys_cols().
Here is the caller graph for this function:

Referenced by btr_cur_parse_del_mark_set_clust_rec(), btr_cur_parse_del_mark_set_sec_rec(), btr_cur_parse_update_in_place(), btr_parse_set_min_rec_mark(), buf_page_print(), fil_op_log_parse_or_replay(), fil_page_get_type(), fseg_inode_get(), mach_parse_compressed(), mlog_parse_index(), mlog_parse_nbytes(), mlog_parse_string(), mtr_read_ulint(), page_copy_rec_list_end_no_locks(), page_cur_parse_delete_rec(), page_cur_parse_insert_rec(), page_parse_delete_rec_list(), trx_purge_rseg_get_next_history_log(), trx_purge_truncate_rseg_history(), trx_undo_discard_latest_update_undo(), trx_undo_erase_page_end(), trx_undo_get_next_rec_from_next_page(), trx_undo_header_add_space_for_xid(), trx_undo_header_create(), trx_undo_insert_header_reuse(), trx_undo_mem_create_at_db_start(), trx_undo_page_report_insert(), trx_undo_page_report_modify(), trx_undo_parse_add_undo_rec(), trx_undo_rec_get_partial_row(), trx_undo_reuse_cached(), trx_undo_set_state_at_finish(), and trx_undo_set_state_at_prepare().
Here is the caller graph for this function:

Definition at line 58 of file innochecksum.c.
Referenced by btr_blob_get_next_page_no(), btr_blob_get_part_len(), btr_copy_externally_stored_field(), btr_free_externally_stored_field(), btr_rec_get_externally_stored_len(), buf_flush_buffered_writes(), buf_page_io_complete(), buf_page_is_corrupted(), buf_page_print(), dfield_print(), dfield_print_also_hex(), dict_check_tablespaces_and_store_max_id(), dict_load_columns(), dict_load_fields(), dict_load_foreign(), dict_load_foreign_cols(), dict_load_indexes(), dict_load_table(), dict_truncate_index_tree(), fil_page_get_next(), fil_page_get_prev(), fil_reset_too_high_lsns(), fseg_alloc_free_page_low(), fseg_free_page_low(), fseg_get_nth_frag_page_no(), fseg_inode_get(), fseg_validate_low(), fsp_free_seg_inode(), fsp_get_size_low(), fsp_header_get_space_id(), ibuf_rec_get_page_no(), ibuf_rec_get_space(), ibuf_update_max_tablespace_id(), log_checkpoint_get_nth_group_info(), mach_dulint_parse_compressed(), mach_parse_compressed(), main(), mem_field_header_get_check(), mem_field_header_get_len(), mem_field_trailer_get_check(), mtr_read_ulint(), page_parse_copy_rec_list_to_created_page(), recv_check_cp_is_consistent(), recv_find_max_checkpoint(), recv_read_cp_info_for_backup(), row_fetch_store_uint4(), row_prebuilt_free(), row_scan_and_check_index(), trx_doublewrite_init(), trx_sys_create_doublewrite_buf(), trx_sys_doublewrite_init_or_restore_pages(), trx_sys_print_mysql_binlog_offset(), trx_sys_print_mysql_binlog_offset_from_page(), trx_sys_print_mysql_master_log_pos(), trx_sys_update_mysql_binlog_offset(), and trx_undo_read_xid().
00059 { 00060 return( ((ulint)(b[0]) << 24) 00061 + ((ulint)(b[1]) << 16) 00062 + ((ulint)(b[2]) << 8) 00063 + (ulint)(b[3]) 00064 ); 00065 }
Here is the caller graph for this function:

Referenced by buf_page_is_corrupted(), dict_load_columns(), dict_load_indexes(), dict_load_table(), dict_load_table_on_id(), dict_truncate_index_tree(), fil_read_flushed_lsn_and_arch_log_no(), fil_reset_too_high_lsns(), fsp_print(), fsp_seg_inode_page_find_free(), fsp_seg_inode_page_find_used(), fsp_validate(), mtr_read_dulint(), recv_apply_log_recs_for_backup(), recv_find_max_checkpoint(), recv_read_cp_info_for_backup(), recv_recover_page(), recv_recovery_from_checkpoint_start(), trx_purge_rseg_get_next_history_log(), and trx_purge_truncate_rseg_history().
Here is the caller graph for this function:

Referenced by mlog_write_ulint(), page_cur_insert_rec_write_log(), row_upd_index_write_log(), row_upd_write_sys_vals_to_log(), trx_undo_page_report_insert(), and trx_undo_page_report_modify().
Here is the caller graph for this function:

Referenced by btr_cur_del_mark_set_clust_rec_log(), btr_cur_del_mark_set_sec_rec_log(), btr_cur_mark_dtuple_inherited_extern(), btr_cur_unmark_dtuple_extern_fields(), btr_cur_update_in_place_log(), ibuf_entry_build(), ibuf_new_search_tuple_build(), mlog_parse_nbytes(), mlog_write_ulint(), page_cur_insert_rec_write_log(), row_mysql_store_true_var_len(), row_upd_index_write_log(), trx_undo_header_create(), trx_undo_insert_header_reuse(), trx_undo_page_report_insert(), and trx_undo_page_report_modify().
Here is the caller graph for this function:

Referenced by btr_cur_del_mark_set_clust_rec_log(), btr_cur_del_mark_set_sec_rec_log(), btr_cur_update_in_place_log(), buf_page_create(), fil_op_write_log(), fil_page_set_type(), mlog_open_and_write_index(), mlog_parse_nbytes(), mlog_write_dulint(), mlog_write_string(), mlog_write_ulint(), page_cur_delete_rec_write_log(), page_cur_insert_rec_write_log(), page_delete_rec_list_write_log(), trx_undo_discard_latest_update_undo(), trx_undo_header_create(), trx_undo_insert_header_reuse(), trx_undo_page_init(), trx_undo_page_report_insert(), trx_undo_page_report_modify(), trx_undo_parse_add_undo_rec(), and trx_undof_page_add_undo_rec_log().
Here is the caller graph for this function:

Referenced by buf_flush_init_for_writing(), dict_create_sys_columns_tuple(), dict_create_sys_fields_tuple(), dict_create_sys_indexes_tuple(), dict_create_sys_tables_tuple(), dict_tree_build_node_ptr(), fsp_header_write_space_id(), ibuf_entry_build(), ibuf_new_search_tuple_build(), ibuf_search_tuple_build(), log_checkpoint_set_nth_group_info(), log_group_checkpoint(), log_group_file_header_flush(), log_reset_first_header_and_checkpoint(), mem_field_header_set_check(), mem_field_header_set_len(), mem_field_trailer_set_check(), mlog_parse_nbytes(), mlog_write_ulint(), page_copy_rec_list_end_to_created_page(), pars_info_add_int4_literal(), row_search_for_mysql(), row_sel_push_cache_row_for_mysql(), sym_tab_add_int_lit(), and trx_sys_doublewrite_init_or_restore_pages().
Here is the caller graph for this function:

Referenced by buf_flush_init_for_writing(), dict_create_sys_columns_tuple(), dict_create_sys_fields_tuple(), dict_create_sys_indexes_tuple(), dict_create_sys_tables_tuple(), dict_load_columns(), dict_load_fields(), dict_load_indexes(), dict_load_table_on_id(), fil_reset_too_high_lsns(), fil_write_lsn_and_arch_no_to_file(), fsp_init_file_page_low(), log_group_checkpoint(), log_group_file_header_flush(), log_reset_first_header_and_checkpoint(), mlog_parse_nbytes(), mlog_write_dulint(), page_set_max_trx_id(), pars_info_add_dulint_literal(), recv_recover_page(), row_truncate_table_for_mysql(), trx_undo_header_create(), and trx_undo_insert_header_reuse().
Here is the caller graph for this function:

1.4.7

