Minor corrections to InnoDB function comments

innobase/include/mem0mem.h:
  Correct the comment of mem_heap_create_func().
innobase/include/mem0mem.ic:
  Correct the comment of mem_heap_create_func().
sql/ha_innodb.cc:
  Correct comments regarding return value
This commit is contained in:
unknown 2005-09-29 12:37:27 +03:00
parent d5c647f25e
commit 612b9cebb2
3 changed files with 4 additions and 6 deletions

View File

@ -99,8 +99,7 @@ heap freeing. */
/********************************************************************* /*********************************************************************
NOTE: Use the corresponding macros instead of this function. Creates a NOTE: Use the corresponding macros instead of this function. Creates a
memory heap which allocates memory from dynamic space. For debugging memory heap which allocates memory from dynamic space. For debugging
purposes, takes also the file name and line as argument in the debug purposes, takes also the file name and line as argument. */
version. */
UNIV_INLINE UNIV_INLINE
mem_heap_t* mem_heap_t*
mem_heap_create_func( mem_heap_create_func(

View File

@ -371,8 +371,7 @@ mem_heap_free_top(
/********************************************************************* /*********************************************************************
NOTE: Use the corresponding macros instead of this function. Creates a NOTE: Use the corresponding macros instead of this function. Creates a
memory heap which allocates memory from dynamic space. For debugging memory heap which allocates memory from dynamic space. For debugging
purposes, takes also the file name and line as argument in the debug purposes, takes also the file name and line as argument. */
version. */
UNIV_INLINE UNIV_INLINE
mem_heap_t* mem_heap_t*
mem_heap_create_func( mem_heap_create_func(

View File

@ -1191,7 +1191,7 @@ Opens an InnoDB database. */
handlerton* handlerton*
innobase_init(void) innobase_init(void)
/*===============*/ /*===============*/
/* out: TRUE if error */ /* out: &innobase_hton, or NULL on error */
{ {
static char current_dir[3]; /* Set if using current lib */ static char current_dir[3]; /* Set if using current lib */
int err; int err;
@ -2492,7 +2492,7 @@ Closes a handle to an InnoDB table. */
int int
ha_innobase::close(void) ha_innobase::close(void)
/*====================*/ /*====================*/
/* out: error number */ /* out: 0 */
{ {
DBUG_ENTER("ha_innobase::close"); DBUG_ENTER("ha_innobase::close");