Commit 612b9ceb authored by unknown's avatar unknown

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
parent d5c647f2
...@@ -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