MySQL 5.6.14 Source Code Document
|
Public Member Functions | |
~row_import () UNIV_NOTHROW | |
row_index_t * | get_index (const char *name) const UNIV_NOTHROW |
ulint | get_n_rows (const char *name) const UNIV_NOTHROW |
ulint | find_col (const char *name) const UNIV_NOTHROW |
- of the index to look for | |
Find the index field entry in in the cfg indexes fields.
| |
dict_table_t * | m_table |
ulint | m_version |
byte * | m_hostname |
byte * | m_table_name |
ib_uint64_t | m_autoinc |
ulint | m_page_size |
ulint | m_flags |
ulint | m_n_cols |
dict_col_t * | m_cols |
byte ** | m_col_names |
ulint | m_n_indexes |
row_index_t * | m_indexes |
bool | m_missing |
const dict_field_t * | find_field (const row_index_t *cfg_index, const char *name) const UNIV_NOTHROW |
ulint | get_n_purge_failed (const char *name) const UNIV_NOTHROW |
bool | requires_purge (const char *name) const UNIV_NOTHROW |
void | set_root_by_name () UNIV_NOTHROW |
dberr_t | set_root_by_heuristic () UNIV_NOTHROW |
dberr_t | match_index_columns (THD *thd, const dict_index_t *index) UNIV_NOTHROW |
dberr_t | match_table_columns (THD *thd) UNIV_NOTHROW |
dberr_t | match_schema (THD *thd) UNIV_NOTHROW |
Meta data required by IMPORT.
Definition at line 104 of file row0import.cc.
row_import::~row_import | ( | ) |
row_import destructor.
Definition at line 1039 of file row0import.cc.
ulint row_import::find_col | ( | const char * | name | ) | const |
Find the ordinal value of the column name in the cfg table columns.
name | - of column to look for. |
Definition at line 1127 of file row0import.cc.
row_index_t * row_import::get_index | ( | const char * | name | ) | const |
Find the index entry in in the indexes array.
name | - index name |
Definition at line 1074 of file row0import.cc.
ulint row_import::get_n_purge_failed | ( | const char * | name | ) | const |
Get the number of rows for which purge failed during the convert phase.
name | - index name |
Get the number of rows for which purge failed uding the convert phase.
name | - index name |
Definition at line 1112 of file row0import.cc.
ulint row_import::get_n_rows | ( | const char * | name | ) | const |
Get the number of rows in the index.
name | - index name |
Definition at line 1097 of file row0import.cc.
dberr_t row_import::match_index_columns | ( | THD * | thd, |
const dict_index_t * | index | ||
) |
Check if the index schema that was read from the .cfg file
matches the in memory index definition. Note: It will update row_import_t::m_srv_index to map the meta-data read from the .cfg file to the server index instance.
Check if the index schema that was read from the .cfg file matches the in memory index definition.
Definition at line 1172 of file row0import.cc.
dberr_t row_import::match_schema | ( | THD * | thd | ) |
Check if the table (and index) schema that was read from the .cfg file matches the in memory table definition.
thd | - MySQL session variable |
Definition at line 1357 of file row0import.cc.
dberr_t row_import::match_table_columns | ( | THD * | thd | ) |
Check if the table schema that was read from the .cfg file matches the in memory table definition.
thd | - MySQL session variable |
Definition at line 1247 of file row0import.cc.
|
inline |
Check if the index is clean. ie. no delete-marked records
name | - index name |
Definition at line 159 of file row0import.cc.
dberr_t row_import::set_root_by_heuristic | ( | ) |
Set the index root <space, pageno> using a heuristic
Set the index root <space, pageno>, using a heuristic.
Definition at line 1448 of file row0import.cc.
void row_import::set_root_by_name | ( | ) |
Set the index root <space, pageno> using the index name
Set the index root <space, pageno>, using index name.
Definition at line 1422 of file row0import.cc.
ib_uint64_t row_import::m_autoinc |
Next autoinc value
Definition at line 207 of file row0import.cc.
byte** row_import::m_col_names |
Column names, we store the column naems separately becuase there is no field to store the value in dict_col_t
Definition at line 218 of file row0import.cc.
dict_col_t* row_import::m_cols |
Column data
Definition at line 216 of file row0import.cc.
ulint row_import::m_flags |
Table flags
Definition at line 211 of file row0import.cc.
byte* row_import::m_hostname |
Hostname where the tablespace was exported
Definition at line 202 of file row0import.cc.
row_index_t* row_import::m_indexes |
Index meta data
Definition at line 226 of file row0import.cc.
bool row_import::m_missing |
true if a .cfg file was found and was readable
Definition at line 228 of file row0import.cc.
ulint row_import::m_n_cols |
Number of columns in the meta-data file
Definition at line 213 of file row0import.cc.
ulint row_import::m_n_indexes |
Number of indexes, including clustered index
Definition at line 223 of file row0import.cc.
ulint row_import::m_page_size |
Tablespace page size
Definition at line 209 of file row0import.cc.
dict_table_t* row_import::m_table |
Table instance
Definition at line 198 of file row0import.cc.
byte* row_import::m_table_name |
Exporting instance table name
Definition at line 204 of file row0import.cc.
ulint row_import::m_version |
Version of config file
Definition at line 200 of file row0import.cc.