MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dict0boot.cc File Reference
#include "dict0boot.h"
#include "dict0crea.h"
#include "btr0btr.h"
#include "dict0load.h"
#include "trx0trx.h"
#include "srv0srv.h"
#include "ibuf0ibuf.h"
#include "buf0flu.h"
#include "log0recv.h"
#include "os0file.h"
Include dependency graph for dict0boot.cc:

Go to the source code of this file.

Functions

UNIV_INTERN dict_hdr_t * dict_hdr_get (mtr_t *mtr)
UNIV_INTERN void dict_hdr_get_new_id (table_id_t *table_id, index_id_t *index_id, ulint *space_id)
UNIV_INTERN void dict_hdr_flush_row_id (void)
UNIV_INTERN dberr_t dict_boot (void)
UNIV_INTERN dberr_t dict_create (void)

Detailed Description

Data dictionary creation and booting

Created 4/18/1996 Heikki Tuuri

Definition in file dict0boot.cc.

Function Documentation

UNIV_INTERN 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.

Returns
DB_SUCCESS or error code.

Definition at line 247 of file dict0boot.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

UNIV_INTERN dberr_t dict_create ( void  )

Creates and initializes the data dictionary at the server bootstrap.

Returns
DB_SUCCESS or error code.

Definition at line 494 of file dict0boot.cc.

Here is the call graph for this function:

UNIV_INTERN void dict_hdr_flush_row_id ( void  )

Writes the current value of the row id counter to the dictionary header file page.

Definition at line 115 of file dict0boot.cc.

Here is the call graph for this function:

UNIV_INTERN dict_hdr_t* dict_hdr_get ( mtr_t mtr)

Gets a pointer to the dictionary header and x-latches its page.

Returns
pointer to the dictionary header, page x-latched
Parameters
mtrin: mtr

Definition at line 47 of file dict0boot.cc.

Here is the caller graph for this function:

UNIV_INTERN void dict_hdr_get_new_id ( table_id_t *  table_id,
index_id_t *  index_id,
ulint *  space_id 
)

Returns a new table, index, or space id.

Parameters
table_idout: table id (not assigned if NULL)
index_idout: index id (not assigned if NULL)
space_idout: space id (not assigned if NULL)

Definition at line 67 of file dict0boot.cc.

Here is the call graph for this function:

Here is the caller graph for this function: