|  | MySQL 9.5.0
    Source Code Documentation | 
Data dictionary creation and booting. More...
#include "dict0boot.h"#include "btr0btr.h"#include "buf0flu.h"#include "dict0crea.h"#include "dict0load.h"#include "ha_prototypes.h"#include "ibuf0ibuf.h"#include "log0recv.h"#include "dict0dd.h"#include "os0file.h"#include "srv0srv.h"#include "trx0trx.h"| Functions | |
| dict_hdr_t * | dict_hdr_get (mtr_t *mtr) | 
| Gets a pointer to the dictionary header and x-latches its page.  More... | |
| void | dict_hdr_get_new_id (table_id_t *table_id, space_index_t *index_id, space_id_t *space_id, const dict_table_t *table, bool disable_redo) | 
| Returns a new table, index, or space id.  More... | |
| void | dict_hdr_flush_row_id (void) | 
| Writes the current value of the row id counter to the dictionary header file page.  More... | |
| static bool | dict_hdr_create (mtr_t *mtr) | 
| Creates the file page for the dictionary header.  More... | |
| dberr_t | dict_boot (void) | 
| Initializes the data dictionary memory structures when the database is started.  More... | |
| dberr_t | dict_create (void) | 
| Creates and initializes the data dictionary at the server bootstrap.  More... | |
Data dictionary creation and booting.
Created 4/18/1996 Heikki Tuuri
| dberr_t dict_boot | ( | void | ) | 
Initializes the data dictionary memory structures when the database is started.
This function is also called when the data dictionary is created.
| dberr_t dict_create | ( | void | ) | 
Creates and initializes the data dictionary at the server bootstrap.
| 
 | static | 
Creates the file page for the dictionary header.
This function is called only at the database creation.
| mtr | in: mtr | 
| void dict_hdr_flush_row_id | ( | void | ) | 
Writes the current value of the row id counter to the dictionary header file page.
| dict_hdr_t * dict_hdr_get | ( | mtr_t * | mtr | ) | 
Gets a pointer to the dictionary header and x-latches its page.
| mtr | in: mtr | 
| void dict_hdr_get_new_id | ( | table_id_t * | table_id, | 
| space_index_t * | index_id, | ||
| space_id_t * | space_id, | ||
| const dict_table_t * | table, | ||
| bool | disable_redo | ||
| ) | 
Returns a new table, index, or space id.
| [out] | table_id | Table id (not assigned if null) | 
| [out] | index_id | Index id (not assigned if null) | 
| [out] | space_id | Space id (not assigned if null) | 
| [in] | table | Table | 
| [in] | disable_redo | If true and table object is null then disable-redo |