|
MySQL 5.6.14 Source Code Document
|
#include "row0import.h"#include "btr0pcur.h"#include "que0que.h"#include "dict0boot.h"#include "ibuf0ibuf.h"#include "pars0pars.h"#include "row0upd.h"#include "row0sel.h"#include "row0mysql.h"#include "srv0start.h"#include "row0quiesce.h"#include <vector>
Go to the source code of this file.
Classes | |
| struct | row_stats_t |
| struct | row_index_t |
| struct | row_import |
| class | RecIterator |
| class | IndexPurge |
| class | AbstractCallback |
| struct | FetchIndexRootPages |
| struct | FetchIndexRootPages::Index |
| class | PageConverter |
Macros | |
| #define | IO_BUFFER_SIZE(n) ((1024 * 1024) / n) |
| #define | trigger_corruption() (false) |
- of the index to look for | |
Find the index field entry in in the cfg indexes fields.
| |
| static trx_t * | trx |
| 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_for_mysql (dict_table_t *table, row_prebuilt_t *prebuilt) |
Import a tablespace to a running instance.
Created 2012-02-08 by Sunny Bains.
Definition in file row0import.cc.
The size of the buffer to use for IO. Note: os_file_read() doesn't expect
reads to fail. If you set the buffer size to be greater than a multiple of the file size then it will assert. TODO: Fix this limitation of the IO functions.
| n | - page size of the tablespace. |
| number | of pages |
Definition at line 50 of file row0import.cc.
| 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 |
Definition at line 3465 of file row0import.cc.

| 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. |
Definition at line 3401 of file row0import.cc.

| trx_t* trx |
< in/out: prebuilt from handler in/out: transaction for import
Definition at line 2198 of file row0import.cc.