Commit d426c109 authored by marko@hundin.mysql.fi's avatar marko@hundin.mysql.fi

Minor corrections to InnoDB function comments

parent 5e70387f
...@@ -99,8 +99,7 @@ heap freeing. */ ...@@ -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(
......
...@@ -371,8 +371,7 @@ mem_heap_free_top( ...@@ -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(
......
...@@ -1191,7 +1191,7 @@ Opens an InnoDB database. */ ...@@ -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. */ ...@@ -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");
......
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