MySQL 9.0.0
Source Code Documentation
dict0boot.ic File Reference

Data dictionary creation and booting. More...

Functions

static row_id_t dict_sys_get_new_row_id (void)
 Returns a new row id. More...
 
static row_id_t dict_sys_read_row_id (const byte *field)
 Reads a row id from a record or other 6-byte stored form. More...
 
static void dict_sys_write_row_id (byte *field, row_id_t row_id)
 Writes a row id to a record or other 6-byte stored form. More...
 
static bool dict_is_old_sys_table (table_id_t id)
 Check if a table id belongs to old innodb internal system table. More...
 

Detailed Description

Data dictionary creation and booting.

Created 4/18/1996 Heikki Tuuri

Function Documentation

◆ dict_is_old_sys_table()

static bool dict_is_old_sys_table ( table_id_t  id)
inlinestatic

Check if a table id belongs to old innodb internal system table.

Parameters
[in]idtable id
Returns
true if the table id belongs to a system table.

◆ dict_sys_get_new_row_id()

static row_id_t dict_sys_get_new_row_id ( void  )
inlinestatic

Returns a new row id.

Returns
the new id

◆ dict_sys_read_row_id()

static row_id_t dict_sys_read_row_id ( const byte field)
inlinestatic

Reads a row id from a record or other 6-byte stored form.

Returns
row id
Parameters
fieldin: record field

◆ dict_sys_write_row_id()

static void dict_sys_write_row_id ( byte field,
row_id_t  row_id 
)
inlinestatic

Writes a row id to a record or other 6-byte stored form.

Parameters
fieldin: record field
row_idin: row id