diff options
author | unknown <knielsen@knielsen-hq.org> | 2009-11-13 22:26:08 +0100 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2009-11-13 22:26:08 +0100 |
commit | 898f6f48b79d1f2c334fb559225b2b0fade5ea93 (patch) | |
tree | 84df8eecd942b650f172cbd67050ee8984c0d52b /storage/xtradb/include/dict0boot.h | |
parent | 275c0a7f96502b33f763fb9388dcc1c289e4792b (diff) | |
parent | 2bde0c5e6d31583e5197e3b513f572a693161f62 (diff) | |
download | mariadb-git-898f6f48b79d1f2c334fb559225b2b0fade5ea93.tar.gz |
Merge XtraDB 8 into MariaDB.
Diffstat (limited to 'storage/xtradb/include/dict0boot.h')
-rw-r--r-- | storage/xtradb/include/dict0boot.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/storage/xtradb/include/dict0boot.h b/storage/xtradb/include/dict0boot.h index e1556bdb16e..51d37ee98d1 100644 --- a/storage/xtradb/include/dict0boot.h +++ b/storage/xtradb/include/dict0boot.h @@ -16,7 +16,8 @@ Place, Suite 330, Boston, MA 02111-1307 USA *****************************************************************************/ -/****************************************************** +/**************************************************//** +@file include/dict0boot.h Data dictionary creation and booting Created 4/18/1996 Heikki Tuuri @@ -36,54 +37,53 @@ Created 4/18/1996 Heikki Tuuri typedef byte dict_hdr_t; -/************************************************************************** -Gets a pointer to the dictionary header and x-latches its page. */ +/**********************************************************************//** +Gets a pointer to the dictionary header and x-latches its page. +@return pointer to the dictionary header, page x-latched */ UNIV_INTERN dict_hdr_t* dict_hdr_get( /*=========*/ - /* out: pointer to the dictionary header, - page x-latched */ - mtr_t* mtr); /* in: mtr */ -/************************************************************************** -Returns a new row, table, index, or tree id. */ + mtr_t* mtr); /*!< in: mtr */ +/**********************************************************************//** +Returns a new row, table, index, or tree id. +@return the new id */ UNIV_INTERN dulint dict_hdr_get_new_id( /*================*/ - /* out: the new id */ - ulint type); /* in: DICT_HDR_ROW_ID, ... */ -/************************************************************************** -Returns a new row id. */ + ulint type); /*!< in: DICT_HDR_ROW_ID, ... */ +/**********************************************************************//** +Returns a new row id. +@return the new id */ UNIV_INLINE dulint dict_sys_get_new_row_id(void); /*=========================*/ - /* out: the new id */ -/************************************************************************** -Reads a row id from a record or other 6-byte stored form. */ +/**********************************************************************//** +Reads a row id from a record or other 6-byte stored form. +@return row id */ UNIV_INLINE dulint dict_sys_read_row_id( /*=================*/ - /* out: row id */ - byte* field); /* in: record field */ -/************************************************************************** + byte* field); /*!< in: record field */ +/**********************************************************************//** Writes a row id to a record or other 6-byte stored form. */ UNIV_INLINE void dict_sys_write_row_id( /*==================*/ - byte* field, /* in: record field */ - dulint row_id);/* in: row id */ -/********************************************************************* + byte* field, /*!< in: record field */ + dulint row_id);/*!< in: row id */ +/*****************************************************************//** Initializes the data dictionary memory structures when the database is started. This function is also called when the data dictionary is created. */ UNIV_INTERN void dict_boot(void); /*===========*/ -/********************************************************************* +/*****************************************************************//** Creates and initializes the data dictionary at the database creation. */ UNIV_INTERN void |