Commit 44a14a17 authored by osku's avatar osku

Fix all function declarations to have the correct number of '=' characters.

parent 5ea7253f
...@@ -2481,7 +2481,7 @@ the index. */ ...@@ -2481,7 +2481,7 @@ the index. */
ibool ibool
btr_index_rec_validate( btr_index_rec_validate(
/*====================*/ /*===================*/
/* out: TRUE if ok */ /* out: TRUE if ok */
rec_t* rec, /* in: index record */ rec_t* rec, /* in: index record */
dict_index_t* index, /* in: index */ dict_index_t* index, /* in: index */
......
...@@ -844,7 +844,7 @@ the buffer pool. */ ...@@ -844,7 +844,7 @@ the buffer pool. */
void void
buf_page_make_young( buf_page_make_young(
/*=================*/ /*================*/
buf_frame_t* frame) /* in: buffer frame of a file page */ buf_frame_t* frame) /* in: buffer frame of a file page */
{ {
buf_block_t* block; buf_block_t* block;
......
...@@ -1642,7 +1642,7 @@ Decrements the count of pending insert buffer page merges. */ ...@@ -1642,7 +1642,7 @@ Decrements the count of pending insert buffer page merges. */
void void
fil_decr_pending_ibuf_merges( fil_decr_pending_ibuf_merges(
/*========================*/ /*=========================*/
ulint id) /* in: space id */ ulint id) /* in: space id */
{ {
fil_system_t* system = fil_system; fil_system_t* system = fil_system;
......
...@@ -791,7 +791,7 @@ Inits a file page whose prior contents should be ignored. */ ...@@ -791,7 +791,7 @@ Inits a file page whose prior contents should be ignored. */
static static
void void
fsp_init_file_page_low( fsp_init_file_page_low(
/*=====================*/ /*===================*/
byte* ptr) /* in: pointer to a page */ byte* ptr) /* in: pointer to a page */
{ {
page_t* page; page_t* page;
......
...@@ -6671,7 +6671,7 @@ Implements the SHOW MUTEX STATUS command. . */ ...@@ -6671,7 +6671,7 @@ Implements the SHOW MUTEX STATUS command. . */
bool bool
innodb_mutex_show_status( innodb_mutex_show_status(
/*===============*/ /*=====================*/
THD* thd, /* in: the MySQL query thread of the caller */ THD* thd, /* in: the MySQL query thread of the caller */
stat_print_fn *stat_print) stat_print_fn *stat_print)
{ {
......
...@@ -1140,7 +1140,7 @@ Add a column to the dummy index */ ...@@ -1140,7 +1140,7 @@ Add a column to the dummy index */
static static
void void
ibuf_dummy_index_add_col( ibuf_dummy_index_add_col(
/*====================*/ /*=====================*/
dict_index_t* index, /* in: dummy index */ dict_index_t* index, /* in: dummy index */
dtype_t* type, /* in: the data type of the column */ dtype_t* type, /* in: the data type of the column */
ulint len) /* in: length of the column */ ulint len) /* in: length of the column */
...@@ -1160,7 +1160,7 @@ Deallocates a dummy index for inserting a record to a non-clustered index. ...@@ -1160,7 +1160,7 @@ Deallocates a dummy index for inserting a record to a non-clustered index.
static static
void void
ibuf_dummy_index_free( ibuf_dummy_index_free(
/*====================*/ /*==================*/
dict_index_t* index) /* in: dummy index */ dict_index_t* index) /* in: dummy index */
{ {
dict_table_t* table = index->table; dict_table_t* table = index->table;
......
...@@ -412,7 +412,7 @@ the index. */ ...@@ -412,7 +412,7 @@ the index. */
ibool ibool
btr_index_rec_validate( btr_index_rec_validate(
/*====================*/ /*===================*/
/* out: TRUE if ok */ /* out: TRUE if ok */
rec_t* rec, /* in: index record */ rec_t* rec, /* in: index record */
dict_index_t* index, /* in: index */ dict_index_t* index, /* in: index */
......
...@@ -266,7 +266,7 @@ the buffer pool. */ ...@@ -266,7 +266,7 @@ the buffer pool. */
void void
buf_page_make_young( buf_page_make_young(
/*=================*/ /*================*/
buf_frame_t* frame); /* in: buffer frame of a file page */ buf_frame_t* frame); /* in: buffer frame of a file page */
/************************************************************************ /************************************************************************
Returns TRUE if the page can be found in the buffer pool hash table. NOTE Returns TRUE if the page can be found in the buffer pool hash table. NOTE
......
...@@ -306,7 +306,7 @@ Checks if a table is in the dictionary cache. */ ...@@ -306,7 +306,7 @@ Checks if a table is in the dictionary cache. */
UNIV_INLINE UNIV_INLINE
dict_table_t* dict_table_t*
dict_table_check_if_in_cache_low( dict_table_check_if_in_cache_low(
/*==============================*/ /*=============================*/
/* out: table, NULL if not found */ /* out: table, NULL if not found */
const char* table_name); /* in: table name */ const char* table_name); /* in: table name */
/************************************************************************** /**************************************************************************
......
...@@ -494,7 +494,7 @@ Checks if a table is in the dictionary cache. */ ...@@ -494,7 +494,7 @@ Checks if a table is in the dictionary cache. */
UNIV_INLINE UNIV_INLINE
dict_table_t* dict_table_t*
dict_table_check_if_in_cache_low( dict_table_check_if_in_cache_low(
/*==============================*/ /*=============================*/
/* out: table, NULL if not found */ /* out: table, NULL if not found */
const char* table_name) /* in: table name */ const char* table_name) /* in: table name */
{ {
......
...@@ -77,7 +77,7 @@ Gets a iboolean value from a query node. */ ...@@ -77,7 +77,7 @@ Gets a iboolean value from a query node. */
UNIV_INLINE UNIV_INLINE
ibool ibool
eval_node_get_ibool_val( eval_node_get_ibool_val(
/*===================*/ /*====================*/
/* out: iboolean value */ /* out: iboolean value */
que_node_t* node); /* in: query graph node */ que_node_t* node); /* in: query graph node */
/********************************************************************* /*********************************************************************
......
...@@ -149,7 +149,7 @@ Gets a iboolean value from a query node. */ ...@@ -149,7 +149,7 @@ Gets a iboolean value from a query node. */
UNIV_INLINE UNIV_INLINE
ibool ibool
eval_node_get_ibool_val( eval_node_get_ibool_val(
/*===================*/ /*====================*/
/* out: iboolean value */ /* out: iboolean value */
que_node_t* node) /* in: query graph node */ que_node_t* node) /* in: query graph node */
{ {
...@@ -170,7 +170,7 @@ Sets a iboolean value as the value of a function node. */ ...@@ -170,7 +170,7 @@ Sets a iboolean value as the value of a function node. */
UNIV_INLINE UNIV_INLINE
void void
eval_node_set_ibool_val( eval_node_set_ibool_val(
/*===================*/ /*====================*/
func_node_t* func_node, /* in: function node */ func_node_t* func_node, /* in: function node */
ibool val) /* in: value to set */ ibool val) /* in: value to set */
{ {
......
...@@ -271,7 +271,7 @@ Decrements the count of pending insert buffer page merges. */ ...@@ -271,7 +271,7 @@ Decrements the count of pending insert buffer page merges. */
void void
fil_decr_pending_ibuf_merges( fil_decr_pending_ibuf_merges(
/*========================*/ /*=========================*/
ulint id); /* in: space id */ ulint id); /* in: space id */
/*********************************************************************** /***********************************************************************
Parses the body of a log record written about an .ibd file operation. That is, Parses the body of a log record written about an .ibd file operation. That is,
......
...@@ -477,7 +477,7 @@ searching for a lock in the hash table. */ ...@@ -477,7 +477,7 @@ searching for a lock in the hash table. */
UNIV_INLINE UNIV_INLINE
ulint ulint
lock_rec_fold( lock_rec_fold(
/*===========*/ /*==========*/
/* out: folded value */ /* out: folded value */
ulint space, /* in: space */ ulint space, /* in: space */
ulint page_no);/* in: page number */ ulint page_no);/* in: page number */
......
...@@ -281,7 +281,7 @@ Reads a float. It is stored in a little-endian format. */ ...@@ -281,7 +281,7 @@ Reads a float. It is stored in a little-endian format. */
UNIV_INLINE UNIV_INLINE
float float
mach_float_read( mach_float_read(
/*=============*/ /*============*/
/* out: float read */ /* out: float read */
byte* b); /* in: pointer to memory from where to read */ byte* b); /* in: pointer to memory from where to read */
/************************************************************* /*************************************************************
...@@ -289,7 +289,7 @@ Writes a float. It is stored in a little-endian format. */ ...@@ -289,7 +289,7 @@ Writes a float. It is stored in a little-endian format. */
UNIV_INLINE UNIV_INLINE
void void
mach_float_write( mach_float_write(
/*==============*/ /*=============*/
byte* b, /* in: pointer to memory where to write */ byte* b, /* in: pointer to memory where to write */
float d); /* in: float */ float d); /* in: float */
/************************************************************* /*************************************************************
......
...@@ -578,7 +578,7 @@ Reads a float. It is stored in a little-endian format. */ ...@@ -578,7 +578,7 @@ Reads a float. It is stored in a little-endian format. */
UNIV_INLINE UNIV_INLINE
float float
mach_float_read( mach_float_read(
/*=============*/ /*============*/
/* out: float read */ /* out: float read */
byte* b) /* in: pointer to memory from where to read */ byte* b) /* in: pointer to memory from where to read */
{ {
...@@ -604,7 +604,7 @@ Writes a float. It is stored in a little-endian format. */ ...@@ -604,7 +604,7 @@ Writes a float. It is stored in a little-endian format. */
UNIV_INLINE UNIV_INLINE
void void
mach_float_write( mach_float_write(
/*==============*/ /*=============*/
byte* b, /* in: pointer to memory where to write */ byte* b, /* in: pointer to memory where to write */
float d) /* in: float */ float d) /* in: float */
{ {
......
...@@ -220,7 +220,7 @@ Reads 8 bytes from a file page buffered in the buffer pool. */ ...@@ -220,7 +220,7 @@ Reads 8 bytes from a file page buffered in the buffer pool. */
dulint dulint
mtr_read_dulint( mtr_read_dulint(
/*===========*/ /*============*/
/* out: value read */ /* out: value read */
byte* ptr, /* in: pointer from where to read */ byte* ptr, /* in: pointer from where to read */
mtr_t* mtr); /* in: mini-transaction handle */ mtr_t* mtr); /* in: mini-transaction handle */
......
...@@ -116,7 +116,7 @@ Allocates large pages memory. */ ...@@ -116,7 +116,7 @@ Allocates large pages memory. */
void* void*
os_mem_alloc_large( os_mem_alloc_large(
/*=================*/ /*===============*/
/* out: allocated memory */ /* out: allocated memory */
ulint n, /* in: number of bytes */ ulint n, /* in: number of bytes */
ibool set_to_zero, /* in: TRUE if allocated memory should be set ibool set_to_zero, /* in: TRUE if allocated memory should be set
...@@ -128,7 +128,7 @@ Frees large pages memory. */ ...@@ -128,7 +128,7 @@ Frees large pages memory. */
void void
os_mem_free_large( os_mem_free_large(
/*=================*/ /*==============*/
void *ptr); /* in: number of bytes */ void *ptr); /* in: number of bytes */
/******************************************************************** /********************************************************************
Sets the priority boost for threads released from waiting within the current Sets the priority boost for threads released from waiting within the current
......
...@@ -80,7 +80,7 @@ os_thread_create( ...@@ -80,7 +80,7 @@ os_thread_create(
thread */ thread */
int int
os_thread_join( os_thread_join(
/*=============*/ /*===========*/
os_thread_id_t thread_id); /* in: id of the thread to join */ os_thread_id_t thread_id); /* in: id of the thread to join */
/********************************************************************* /*********************************************************************
Exits the current thread. */ Exits the current thread. */
......
...@@ -436,7 +436,7 @@ TRUE if the record is the infimum record on a page. */ ...@@ -436,7 +436,7 @@ TRUE if the record is the infimum record on a page. */
UNIV_INLINE UNIV_INLINE
ibool ibool
page_rec_is_infimum_low( page_rec_is_infimum_low(
/*=====================*/ /*====================*/
/* out: TRUE if the infimum record */ /* out: TRUE if the infimum record */
ulint offset);/* in: record offset on page */ ulint offset);/* in: record offset on page */
...@@ -733,7 +733,7 @@ debugging purposes. */ ...@@ -733,7 +733,7 @@ debugging purposes. */
void void
page_print( page_print(
/*======*/ /*=======*/
page_t* page, /* in: index page */ page_t* page, /* in: index page */
dict_index_t* index, /* in: dictionary index of the page */ dict_index_t* index, /* in: dictionary index of the page */
ulint dn, /* in: print dn first and last entries ulint dn, /* in: print dn first and last entries
......
...@@ -284,7 +284,7 @@ TRUE if the record is the infimum record on a page. */ ...@@ -284,7 +284,7 @@ TRUE if the record is the infimum record on a page. */
UNIV_INLINE UNIV_INLINE
ibool ibool
page_rec_is_infimum_low( page_rec_is_infimum_low(
/*=====================*/ /*====================*/
/* out: TRUE if the infimum record */ /* out: TRUE if the infimum record */
ulint offset) /* in: record offset on page */ ulint offset) /* in: record offset on page */
{ {
......
...@@ -182,7 +182,7 @@ The following function tells if a new-style record is a node pointer. */ ...@@ -182,7 +182,7 @@ The following function tells if a new-style record is a node pointer. */
UNIV_INLINE UNIV_INLINE
ibool ibool
rec_get_node_ptr_flag( rec_get_node_ptr_flag(
/*=================*/ /*==================*/
/* out: TRUE if node pointer */ /* out: TRUE if node pointer */
rec_t* rec); /* in: physical record */ rec_t* rec); /* in: physical record */
/********************************************************** /**********************************************************
...@@ -191,7 +191,7 @@ of the record in the heap of the index page. */ ...@@ -191,7 +191,7 @@ of the record in the heap of the index page. */
UNIV_INLINE UNIV_INLINE
ulint ulint
rec_get_heap_no( rec_get_heap_no(
/*=============*/ /*============*/
/* out: heap order number */ /* out: heap order number */
rec_t* rec, /* in: physical record */ rec_t* rec, /* in: physical record */
ulint comp); /* in: nonzero=compact page format */ ulint comp); /* in: nonzero=compact page format */
...@@ -201,7 +201,7 @@ field in the record. */ ...@@ -201,7 +201,7 @@ field in the record. */
UNIV_INLINE UNIV_INLINE
void void
rec_set_heap_no( rec_set_heap_no(
/*=============*/ /*============*/
rec_t* rec, /* in: physical record */ rec_t* rec, /* in: physical record */
ulint comp, /* in: nonzero=compact page format */ ulint comp, /* in: nonzero=compact page format */
ulint heap_no);/* in: the heap number */ ulint heap_no);/* in: the heap number */
...@@ -399,7 +399,7 @@ The following function returns the number of fields in a record. */ ...@@ -399,7 +399,7 @@ The following function returns the number of fields in a record. */
UNIV_INLINE UNIV_INLINE
ulint ulint
rec_offs_n_fields( rec_offs_n_fields(
/*===============*/ /*==============*/
/* out: number of fields */ /* out: number of fields */
const ulint* offsets);/* in: array returned by rec_get_offsets() */ const ulint* offsets);/* in: array returned by rec_get_offsets() */
/************************************************************** /**************************************************************
......
...@@ -631,7 +631,7 @@ The following function tells if a new-style record is a node pointer. */ ...@@ -631,7 +631,7 @@ The following function tells if a new-style record is a node pointer. */
UNIV_INLINE UNIV_INLINE
ibool ibool
rec_get_node_ptr_flag( rec_get_node_ptr_flag(
/*=================*/ /*==================*/
/* out: TRUE if node pointer */ /* out: TRUE if node pointer */
rec_t* rec) /* in: physical record */ rec_t* rec) /* in: physical record */
{ {
...@@ -644,7 +644,7 @@ heap of the index page. */ ...@@ -644,7 +644,7 @@ heap of the index page. */
UNIV_INLINE UNIV_INLINE
ulint ulint
rec_get_heap_no( rec_get_heap_no(
/*=============*/ /*============*/
/* out: heap order number */ /* out: heap order number */
rec_t* rec, /* in: physical record */ rec_t* rec, /* in: physical record */
ulint comp) /* in: nonzero=compact page format */ ulint comp) /* in: nonzero=compact page format */
...@@ -666,7 +666,7 @@ The following function is used to set the heap number field in the record. */ ...@@ -666,7 +666,7 @@ The following function is used to set the heap number field in the record. */
UNIV_INLINE UNIV_INLINE
void void
rec_set_heap_no( rec_set_heap_no(
/*=============*/ /*============*/
rec_t* rec, /* in: physical record */ rec_t* rec, /* in: physical record */
ulint comp, /* in: nonzero=compact page format */ ulint comp, /* in: nonzero=compact page format */
ulint heap_no)/* in: the heap number */ ulint heap_no)/* in: the heap number */
...@@ -802,7 +802,7 @@ The following function returns the number of fields in a record. */ ...@@ -802,7 +802,7 @@ The following function returns the number of fields in a record. */
UNIV_INLINE UNIV_INLINE
ulint ulint
rec_offs_n_fields( rec_offs_n_fields(
/*===============*/ /*==============*/
/* out: number of fields */ /* out: number of fields */
const ulint* offsets)/* in: array returned by rec_get_offsets() */ const ulint* offsets)/* in: array returned by rec_get_offsets() */
{ {
......
...@@ -232,7 +232,7 @@ were set after this savepoint are deleted. */ ...@@ -232,7 +232,7 @@ were set after this savepoint are deleted. */
ulint ulint
trx_release_savepoint_for_mysql( trx_release_savepoint_for_mysql(
/*================================*/ /*============================*/
/* out: if no savepoint /* out: if no savepoint
of the name found then of the name found then
DB_NO_SAVEPOINT, DB_NO_SAVEPOINT,
......
...@@ -207,7 +207,7 @@ Does the transaction prepare for MySQL. */ ...@@ -207,7 +207,7 @@ Does the transaction prepare for MySQL. */
ulint ulint
trx_prepare_for_mysql( trx_prepare_for_mysql(
/*=================*/ /*==================*/
/* out: 0 or error number */ /* out: 0 or error number */
trx_t* trx); /* in: trx handle */ trx_t* trx); /* in: trx handle */
/************************************************************************** /**************************************************************************
......
...@@ -71,7 +71,7 @@ Gets an undo log page and x-latches it. */ ...@@ -71,7 +71,7 @@ Gets an undo log page and x-latches it. */
UNIV_INLINE UNIV_INLINE
page_t* page_t*
trx_undo_page_get( trx_undo_page_get(
/*===============*/ /*==============*/
/* out: pointer to page x-latched */ /* out: pointer to page x-latched */
ulint space, /* in: space where placed */ ulint space, /* in: space where placed */
ulint page_no, /* in: page number */ ulint page_no, /* in: page number */
...@@ -81,7 +81,7 @@ Gets an undo log page and s-latches it. */ ...@@ -81,7 +81,7 @@ Gets an undo log page and s-latches it. */
UNIV_INLINE UNIV_INLINE
page_t* page_t*
trx_undo_page_get_s_latched( trx_undo_page_get_s_latched(
/*=========================*/ /*========================*/
/* out: pointer to page s-latched */ /* out: pointer to page s-latched */
ulint space, /* in: space where placed */ ulint space, /* in: space where placed */
ulint page_no, /* in: page number */ ulint page_no, /* in: page number */
...@@ -278,7 +278,7 @@ Parses the redo log entry of an undo log page initialization. */ ...@@ -278,7 +278,7 @@ Parses the redo log entry of an undo log page initialization. */
byte* byte*
trx_undo_parse_page_init( trx_undo_parse_page_init(
/*======================*/ /*=====================*/
/* out: end of log record or NULL */ /* out: end of log record or NULL */
byte* ptr, /* in: buffer */ byte* ptr, /* in: buffer */
byte* end_ptr,/* in: buffer end */ byte* end_ptr,/* in: buffer end */
......
...@@ -123,7 +123,7 @@ Gets an undo log page and x-latches it. */ ...@@ -123,7 +123,7 @@ Gets an undo log page and x-latches it. */
UNIV_INLINE UNIV_INLINE
page_t* page_t*
trx_undo_page_get( trx_undo_page_get(
/*===============*/ /*==============*/
/* out: pointer to page x-latched */ /* out: pointer to page x-latched */
ulint space, /* in: space where placed */ ulint space, /* in: space where placed */
ulint page_no, /* in: page number */ ulint page_no, /* in: page number */
...@@ -145,7 +145,7 @@ Gets an undo log page and s-latches it. */ ...@@ -145,7 +145,7 @@ Gets an undo log page and s-latches it. */
UNIV_INLINE UNIV_INLINE
page_t* page_t*
trx_undo_page_get_s_latched( trx_undo_page_get_s_latched(
/*=========================*/ /*========================*/
/* out: pointer to page s-latched */ /* out: pointer to page s-latched */
ulint space, /* in: space where placed */ ulint space, /* in: space where placed */
ulint page_no, /* in: page number */ ulint page_no, /* in: page number */
......
...@@ -216,7 +216,7 @@ aligned address. */ ...@@ -216,7 +216,7 @@ aligned address. */
UNIV_INLINE UNIV_INLINE
ulint ulint
ut_align_offset( ut_align_offset(
/*==========*/ /*============*/
/* out: distance from aligned /* out: distance from aligned
pointer */ pointer */
const void* ptr, /* in: pointer */ const void* ptr, /* in: pointer */
......
...@@ -65,7 +65,7 @@ random number to work reliably. */ ...@@ -65,7 +65,7 @@ random number to work reliably. */
UNIV_INLINE UNIV_INLINE
ulint ulint
ut_hash_ulint( ut_hash_ulint(
/*=========*/ /*==========*/
/* out: hash value */ /* out: hash value */
ulint key, /* in: value to be hashed */ ulint key, /* in: value to be hashed */
ulint table_size); /* in: hash table size */ ulint table_size); /* in: hash table size */
......
...@@ -130,7 +130,7 @@ or some random number for the hash table to work reliably. */ ...@@ -130,7 +130,7 @@ or some random number for the hash table to work reliably. */
UNIV_INLINE UNIV_INLINE
ulint ulint
ut_hash_ulint( ut_hash_ulint(
/*=========*/ /*==========*/
/* out: hash value */ /* out: hash value */
ulint key, /* in: value to be hashed */ ulint key, /* in: value to be hashed */
ulint table_size) /* in: hash table size */ ulint table_size) /* in: hash table size */
......
...@@ -231,7 +231,7 @@ Outputs a fixed-length string, quoted as an SQL identifier. */ ...@@ -231,7 +231,7 @@ Outputs a fixed-length string, quoted as an SQL identifier. */
void void
ut_print_namel( ut_print_namel(
/*==========*/ /*===========*/
FILE* f, /* in: output stream */ FILE* f, /* in: output stream */
struct trx_struct*trx, /* in: transaction (NULL=no quotes) */ struct trx_struct*trx, /* in: transaction (NULL=no quotes) */
const char* name, /* in: name to print */ const char* name, /* in: name to print */
......
...@@ -1067,7 +1067,7 @@ Sets the nth bit of a record lock to TRUE. */ ...@@ -1067,7 +1067,7 @@ Sets the nth bit of a record lock to TRUE. */
UNIV_INLINE UNIV_INLINE
void void
lock_rec_set_nth_bit( lock_rec_set_nth_bit(
/*==================*/ /*=================*/
lock_t* lock, /* in: record lock */ lock_t* lock, /* in: record lock */
ulint i) /* in: index of the bit */ ulint i) /* in: index of the bit */
{ {
......
...@@ -302,7 +302,7 @@ Reads 8 bytes from a file page buffered in the buffer pool. */ ...@@ -302,7 +302,7 @@ Reads 8 bytes from a file page buffered in the buffer pool. */
dulint dulint
mtr_read_dulint( mtr_read_dulint(
/*===========*/ /*============*/
/* out: value read */ /* out: value read */
byte* ptr, /* in: pointer from where to read */ byte* ptr, /* in: pointer from where to read */
mtr_t* mtr __attribute__((unused))) mtr_t* mtr __attribute__((unused)))
......
...@@ -2551,7 +2551,7 @@ This function returns information about the specified file */ ...@@ -2551,7 +2551,7 @@ This function returns information about the specified file */
ibool ibool
os_file_get_status( os_file_get_status(
/*===========*/ /*===============*/
/* out: TRUE if stat information found */ /* out: TRUE if stat information found */
const char* path, /* in: pathname of the file */ const char* path, /* in: pathname of the file */
os_file_stat_t* stat_info) /* information of a file in a directory */ os_file_stat_t* stat_info) /* information of a file in a directory */
......
...@@ -533,7 +533,7 @@ Allocates large pages memory. */ ...@@ -533,7 +533,7 @@ Allocates large pages memory. */
void* void*
os_mem_alloc_large( os_mem_alloc_large(
/*=================*/ /*===============*/
/* out: allocated memory */ /* out: allocated memory */
ulint n, /* in: number of bytes */ ulint n, /* in: number of bytes */
ibool set_to_zero, /* in: TRUE if allocated memory should be set ibool set_to_zero, /* in: TRUE if allocated memory should be set
...@@ -595,7 +595,7 @@ Frees large pages memory. */ ...@@ -595,7 +595,7 @@ Frees large pages memory. */
void void
os_mem_free_large( os_mem_free_large(
/*=================*/ /*==============*/
void *ptr) /* in: number of bytes */ void *ptr) /* in: number of bytes */
{ {
#ifdef HAVE_LARGE_PAGES #ifdef HAVE_LARGE_PAGES
......
...@@ -213,7 +213,7 @@ os_thread_exit( ...@@ -213,7 +213,7 @@ os_thread_exit(
#ifdef HAVE_PTHREAD_JOIN #ifdef HAVE_PTHREAD_JOIN
int int
os_thread_join( os_thread_join(
/*=============*/ /*===========*/
os_thread_id_t thread_id) /* in: id of the thread to join */ os_thread_id_t thread_id) /* in: id of the thread to join */
{ {
return pthread_join(thread_id, NULL); return pthread_join(thread_id, NULL);
......
...@@ -1433,7 +1433,7 @@ debugging purposes. */ ...@@ -1433,7 +1433,7 @@ debugging purposes. */
void void
page_print( page_print(
/*======*/ /*=======*/
page_t* page, /* in: index page */ page_t* page, /* in: index page */
dict_index_t* index, /* in: dictionary index of the page */ dict_index_t* index, /* in: dictionary index of the page */
ulint dn, /* in: print dn first and last entries ulint dn, /* in: print dn first and last entries
......
...@@ -1143,7 +1143,7 @@ records */ ...@@ -1143,7 +1143,7 @@ records */
static static
ulint ulint
row_ins_set_exclusive_rec_lock( row_ins_set_exclusive_rec_lock(
/*============================*/ /*===========================*/
/* out: DB_SUCCESS or error code */ /* out: DB_SUCCESS or error code */
ulint type, /* in: LOCK_ORDINARY, LOCK_GAP, or ulint type, /* in: LOCK_ORDINARY, LOCK_GAP, or
LOCK_REC_NOT_GAP type lock */ LOCK_REC_NOT_GAP type lock */
......
...@@ -81,7 +81,7 @@ Initializes the fields in an undo log segment page. */ ...@@ -81,7 +81,7 @@ Initializes the fields in an undo log segment page. */
static static
void void
trx_undo_page_init( trx_undo_page_init(
/*================*/ /*===============*/
page_t* undo_page, /* in: undo log segment page */ page_t* undo_page, /* in: undo log segment page */
ulint type, /* in: undo log segment type */ ulint type, /* in: undo log segment type */
mtr_t* mtr); /* in: mtr */ mtr_t* mtr); /* in: mtr */
...@@ -307,7 +307,7 @@ Writes the mtr log entry of an undo log page initialization. */ ...@@ -307,7 +307,7 @@ Writes the mtr log entry of an undo log page initialization. */
UNIV_INLINE UNIV_INLINE
void void
trx_undo_page_init_log( trx_undo_page_init_log(
/*====================*/ /*===================*/
page_t* undo_page, /* in: undo log page */ page_t* undo_page, /* in: undo log page */
ulint type, /* in: undo log type */ ulint type, /* in: undo log type */
mtr_t* mtr) /* in: mtr */ mtr_t* mtr) /* in: mtr */
...@@ -322,7 +322,7 @@ Parses the redo log entry of an undo log page initialization. */ ...@@ -322,7 +322,7 @@ Parses the redo log entry of an undo log page initialization. */
byte* byte*
trx_undo_parse_page_init( trx_undo_parse_page_init(
/*======================*/ /*=====================*/
/* out: end of log record or NULL */ /* out: end of log record or NULL */
byte* ptr, /* in: buffer */ byte* ptr, /* in: buffer */
byte* end_ptr,/* in: buffer end */ byte* end_ptr,/* in: buffer end */
...@@ -350,7 +350,7 @@ Initializes the fields in an undo log segment page. */ ...@@ -350,7 +350,7 @@ Initializes the fields in an undo log segment page. */
static static
void void
trx_undo_page_init( trx_undo_page_init(
/*================*/ /*===============*/
page_t* undo_page, /* in: undo log segment page */ page_t* undo_page, /* in: undo log segment page */
ulint type, /* in: undo log segment type */ ulint type, /* in: undo log segment type */
mtr_t* mtr) /* in: mtr */ mtr_t* mtr) /* in: mtr */
......
...@@ -408,7 +408,7 @@ Outputs a fixed-length string, quoted as an SQL identifier. */ ...@@ -408,7 +408,7 @@ Outputs a fixed-length string, quoted as an SQL identifier. */
void void
ut_print_namel( ut_print_namel(
/*==========*/ /*===========*/
FILE* f, /* in: output stream */ FILE* f, /* in: output stream */
trx_t* trx, /* in: transaction (NULL=no quotes) */ trx_t* trx, /* in: transaction (NULL=no quotes) */
const char* name, /* in: name to print */ const char* name, /* in: name to print */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment