InnoDB Plugin
1.0
|
Go to the source code of this file.
Functions | |
UNIV_INTERN dberr_t | row_import_for_mysql (dict_table_t *table, row_prebuilt_t *prebuilt)) |
UNIV_INTERN dberr_t | row_import_update_discarded_flag (trx_t *trx, table_id_t table_id, bool discarded, bool dict_locked)) |
UNIV_INTERN dberr_t | row_import_update_index_root (trx_t *trx, const dict_table_t *table, bool reset, bool dict_locked)) |
Header file for import tablespace functions.
Created 2012-02-08 by Sunny Bains
UNIV_INTERN dberr_t row_import_for_mysql | ( | dict_table_t * | table, |
row_prebuilt_t * | prebuilt | ||
) |
Imports a tablespace. The space id in the .ibd file must match the space id of the table in the data dictionary.
table | in/out: table |
prebuilt | in: prebuilt struct in MySQL |
UNIV_INTERN dberr_t row_import_update_discarded_flag | ( | trx_t * | trx, |
table_id_t | table_id, | ||
bool | discarded, | ||
bool | dict_locked | ||
) |
Update the DICT_TF2_DISCARDED flag in SYS_TABLES.
trx | in/out: transaction that covers the update |
table_id | in: Table for which we want to set the root table->flags2 |
discarded | in: set MIX_LEN column bit to discarded, if true |
dict_locked | in: Set to true if the caller already owns the dict_sys_t:: mutex. |
UNIV_INTERN dberr_t row_import_update_index_root | ( | trx_t * | trx, |
const dict_table_t * | table, | ||
bool | reset, | ||
bool | dict_locked | ||
) |
Update the (space, root page) of a table's indexes from the values in the data dictionary.
trx | in/out: transaction that covers the update |
table | in: Table for which we want to set the root page_no |
reset | in: if true then set to FIL_NUL |
dict_locked | in: Set to true if the caller already owns the dict_sys_t:: mutex. |