MySQL 5.6.14 Source Code Document
|
Classes | |
struct | Index |
Public Types | |
typedef std::vector< Index > | Indexes |
Public Member Functions | |
FetchIndexRootPages (const dict_table_t *table, trx_t *trx) | |
virtual | ~FetchIndexRootPages () UNIV_NOTHROW |
virtual ulint | get_space_id () const UNIV_NOTHROW |
dberr_t | check_row_format (ulint ibd_table_flags) UNIV_NOTHROW |
virtual dberr_t | operator() (os_offset_t offset, buf_block_t *block) UNIV_NOTHROW |
dberr_t | build_row_import (row_import *cfg) const UNIV_NOTHROW |
Public Member Functions inherited from AbstractCallback | |
AbstractCallback (trx_t *trx) | |
virtual | ~AbstractCallback () |
virtual dberr_t | init (os_offset_t file_size, const buf_block_t *block) UNIV_NOTHROW |
bool | is_compressed_table () const UNIV_NOTHROW |
Public Member Functions inherited from PageCallback | |
PageCallback () | |
void | set_file (const char *filename, os_file_t file) UNIV_NOTHROW |
ulint | get_zip_size () const |
dberr_t | set_zip_size (const buf_frame_t *page) UNIV_NOTHROW |
ulint | get_page_size () const |
Public Attributes | |
const dict_table_t * | m_table |
Indexes | m_indexes |
Additional Inherited Members | |
Protected Member Functions inherited from AbstractCallback | |
buf_frame_t * | get_frame (buf_block_t *block) const UNIV_NOTHROW |
dberr_t | periodic_check () UNIV_NOTHROW |
const xdes_t * | xdes (ulint page_no, const page_t *page) const UNIV_NOTHROW |
dberr_t | set_current_xdes (ulint page_no, const page_t *page) UNIV_NOTHROW |
bool | is_root_page (const page_t *page) const UNIV_NOTHROW |
bool | is_free (ulint page_no) const UNIV_NOTHROW |
Protected Attributes inherited from AbstractCallback | |
trx_t * | m_trx |
ulint | m_space |
ulint | m_free_limit |
ulint | m_size |
xdes_t * | m_xdes |
ulint | m_xdes_page_no |
ulint | m_space_flags |
ulint | m_table_flags |
Try and determine the index root pages by checking if the next/prev pointers are both FIL_NULL. We need to ensure that skip deleted pages.
Definition at line 616 of file row0import.cc.
|
inline |
Constructor
trx | - covering (user) transaction |
table | - table definition in server . |
Definition at line 635 of file row0import.cc.
|
inlinevirtual |
Destructor
Definition at line 641 of file row0import.cc.
dberr_t FetchIndexRootPages::build_row_import | ( | row_import * | cfg | ) | const |
Update the import configuration that will be used to import
the tablespace.
Update the import configuration that will be used to import the tablespace.
Definition at line 769 of file row0import.cc.
|
inline |
Check if the .ibd file row format is the same as the table's.
ibd_table_flags | - determined from space and page. |
Definition at line 654 of file row0import.cc.
|
inlinevirtual |
the | space id of the tablespace being iterated over |
Implements PageCallback.
Definition at line 645 of file row0import.cc.
|
virtual |
Called for each block as it is read from the file.
offset | - physical offset in the file |
block | - block to convert, it is not from the buffer pool. |
DB_SUCCESS | or error code. |
Called for each block as it is read from the file. Check index pages to determine the exact row format. We can't get that from the tablespace header flags alone.
offset | - physical offset in the file |
block | - block to convert, it is not from the buffer pool. |
DB_SUCCESS | or error code. |
Implements PageCallback.
Definition at line 719 of file row0import.cc.
Indexes FetchIndexRootPages::m_indexes |
Index information
Definition at line 707 of file row0import.cc.
const dict_table_t* FetchIndexRootPages::m_table |
Table definition in server.
Definition at line 704 of file row0import.cc.