Commit db9dc3bb authored by marko's avatar marko

branches/zip: Add missing out: comments to nullary functions.

parent a7942035
......@@ -1892,6 +1892,7 @@ UNIV_INTERN
ibool
buf_LRU_validate(void)
/*==================*/
/* out: TRUE */
{
buf_page_t* bpage;
buf_block_t* block;
......
......@@ -219,6 +219,7 @@ UNIV_INTERN
ibool
buf_LRU_validate(void);
/*==================*/
/* out: TRUE */
#endif /* UNIV_DEBUG || UNIV_BUF_DEBUG */
#if defined UNIV_DEBUG_PRINT || defined UNIV_DEBUG || defined UNIV_BUF_DEBUG
/**************************************************************************
......
......@@ -77,6 +77,7 @@ UNIV_INLINE
ibool
recv_recovery_is_on(void);
/*=====================*/
/* out: recv_recovery_on */
#ifdef UNIV_LOG_ARCHIVE
/***********************************************************************
Returns TRUE if recovery from backup is currently running. */
......@@ -84,6 +85,7 @@ UNIV_INLINE
ibool
recv_recovery_from_backup_is_on(void);
/*=================================*/
/* out: recv_recovery_from_backup_on */
#endif /* UNIV_LOG_ARCHIVE */
/****************************************************************************
Applies the hashed log records to the page, if the page lsn is less than the
......
......@@ -30,6 +30,7 @@ UNIV_INLINE
ibool
recv_recovery_is_on(void)
/*=====================*/
/* out: recv_recovery_on */
{
return(UNIV_UNLIKELY(recv_recovery_on));
}
......@@ -43,6 +44,7 @@ UNIV_INLINE
ibool
recv_recovery_from_backup_is_on(void)
/*=================================*/
/* out: recv_recovery_from_backup_on */
{
return(recv_recovery_from_backup_on);
}
......
......@@ -368,12 +368,14 @@ UNIV_INTERN
commit_node_t*
pars_commit_statement(void);
/*=======================*/
/* out, own: commit node struct */
/*************************************************************************
Parses a rollback statement. */
UNIV_INTERN
roll_node_t*
pars_rollback_statement(void);
/*=========================*/
/* out, own: rollback node struct */
/*************************************************************************
Parses a column definition at a table creation. */
UNIV_INTERN
......
......@@ -370,6 +370,7 @@ UNIV_INTERN
ulint
srv_get_n_threads(void);
/*===================*/
/* out: sum of srv_n_threads[] */
/*************************************************************************
Returns the calling thread type. */
......
......@@ -453,6 +453,7 @@ UNIV_INTERN
ulint
rw_lock_n_locked(void);
/*==================*/
/* out: number of locked rw-locks */
/*#####################################################################*/
......
......@@ -1555,6 +1555,7 @@ UNIV_INTERN
commit_node_t*
pars_commit_statement(void)
/*=======================*/
/* out, own: commit node struct */
{
return(commit_node_create(pars_sym_tab_global->heap));
}
......@@ -1565,6 +1566,7 @@ UNIV_INTERN
roll_node_t*
pars_rollback_statement(void)
/*=========================*/
/* out, own: rollback node struct */
{
return(roll_node_create(pars_sym_tab_global->heap));
}
......
......@@ -664,6 +664,7 @@ UNIV_INTERN
ulint
srv_get_n_threads(void)
/*===================*/
/* out: sum of srv_n_threads[] */
{
ulint i;
ulint n_threads = 0;
......
......@@ -1010,6 +1010,7 @@ UNIV_INTERN
ulint
rw_lock_n_locked(void)
/*==================*/
/* out: number of locked rw-locks */
{
rw_lock_t* lock;
ulint count = 0;
......
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