Browse Source

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

pull/374/head
marko 17 years ago
parent
commit
13f32345e9
  1. 1
      buf/buf0lru.c
  2. 1
      include/buf0lru.h
  3. 2
      include/log0recv.h
  4. 2
      include/log0recv.ic
  5. 2
      include/pars0pars.h
  6. 1
      include/srv0srv.h
  7. 1
      include/sync0rw.h
  8. 2
      pars/pars0pars.c
  9. 1
      srv/srv0srv.c
  10. 1
      sync/sync0rw.c

1
buf/buf0lru.c

@ -1892,6 +1892,7 @@ UNIV_INTERN
ibool
buf_LRU_validate(void)
/*==================*/
/* out: TRUE */
{
buf_page_t* bpage;
buf_block_t* block;

1
include/buf0lru.h

@ -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
/**************************************************************************

2
include/log0recv.h

@ -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

2
include/log0recv.ic

@ -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);
}

2
include/pars0pars.h

@ -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

1
include/srv0srv.h

@ -370,6 +370,7 @@ UNIV_INTERN
ulint
srv_get_n_threads(void);
/*===================*/
/* out: sum of srv_n_threads[] */
/*************************************************************************
Returns the calling thread type. */

1
include/sync0rw.h

@ -453,6 +453,7 @@ UNIV_INTERN
ulint
rw_lock_n_locked(void);
/*==================*/
/* out: number of locked rw-locks */
/*#####################################################################*/

2
pars/pars0pars.c

@ -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));
}

1
srv/srv0srv.c

@ -664,6 +664,7 @@ UNIV_INTERN
ulint
srv_get_n_threads(void)
/*===================*/
/* out: sum of srv_n_threads[] */
{
ulint i;
ulint n_threads = 0;

1
sync/sync0rw.c

@ -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;

Loading…
Cancel
Save