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:
parent
d5c647f25e
commit
612b9cebb2
@ -99,8 +99,7 @@ heap freeing. */
|
||||
/*********************************************************************
|
||||
NOTE: Use the corresponding macros instead of this function. Creates a
|
||||
memory heap which allocates memory from dynamic space. For debugging
|
||||
purposes, takes also the file name and line as argument in the debug
|
||||
version. */
|
||||
purposes, takes also the file name and line as argument. */
|
||||
UNIV_INLINE
|
||||
mem_heap_t*
|
||||
mem_heap_create_func(
|
||||
|
@ -371,8 +371,7 @@ mem_heap_free_top(
|
||||
/*********************************************************************
|
||||
NOTE: Use the corresponding macros instead of this function. Creates a
|
||||
memory heap which allocates memory from dynamic space. For debugging
|
||||
purposes, takes also the file name and line as argument in the debug
|
||||
version. */
|
||||
purposes, takes also the file name and line as argument. */
|
||||
UNIV_INLINE
|
||||
mem_heap_t*
|
||||
mem_heap_create_func(
|
||||
|
@ -1191,7 +1191,7 @@ Opens an InnoDB database. */
|
||||
handlerton*
|
||||
innobase_init(void)
|
||||
/*===============*/
|
||||
/* out: TRUE if error */
|
||||
/* out: &innobase_hton, or NULL on error */
|
||||
{
|
||||
static char current_dir[3]; /* Set if using current lib */
|
||||
int err;
|
||||
@ -2492,7 +2492,7 @@ Closes a handle to an InnoDB table. */
|
||||
int
|
||||
ha_innobase::close(void)
|
||||
/*====================*/
|
||||
/* out: error number */
|
||||
/* out: 0 */
|
||||
{
|
||||
DBUG_ENTER("ha_innobase::close");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user