MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
STATIC_CONST (FREE_RECORD=~(Uint32) 0) | |
STATIC_CONST (DATA_WORDS=File_formats::NDB_PAGE_SIZE_WORDS-32) | |
Uint32 * | get_ptr (Uint32 page_idx, Uint32 rec_size) |
Tup_fixsize_page () | |
Uint32 | alloc_record () |
Uint32 | alloc_record (Uint32 page_idx) |
Uint32 | free_record (Uint32 page_idx) |
Public Attributes | |
struct File_formats::Page_header | m_page_header |
Uint32 | m_restart_seq |
Uint32 | page_state |
Uint32 | next_page |
Uint32 | prev_page |
Uint32 | first_cluster_page |
Uint32 | last_cluster_page |
Uint32 | next_cluster_page |
Uint32 | prev_cluster_page |
Uint32 | frag_page_id |
Uint32 | physical_page_id |
Uint32 | free_space |
Uint32 | next_free_index |
Uint32 | list_index |
Uint32 | uncommitted_used_space |
Uint32 | m_page_no |
Uint32 | m_file_no |
Uint32 | m_table_id |
Uint32 | m_fragment_id |
Uint32 | m_extent_no |
Uint32 | m_extent_info_ptr |
Uint32 | unused_ph [9] |
Uint32 | m_data [DATA_WORDS] |
Definition at line 61 of file tuppage.hpp.
|
inline |
Alloc record from page return page_idx
Definition at line 100 of file tuppage.hpp.
Uint32 Tup_fixsize_page::alloc_record | ( | ) |
Fix pages maintain a double linked list of free entries
Var pages has a directory where each entry is [ C(1), F(1), L(15), P(15) ] C is chain bit, (is it a full tuple or just chain) F is free bit If true, L is prev free entry (in directory) P is next free entry (in directory) else L is len of entry P is pos of entry
Definition at line 36 of file tuppage.cpp.