Commit 90e50d96 authored by marko's avatar marko

branches/zip: Fix some function comments.

parent 931572df
...@@ -440,8 +440,8 @@ dict_foreign_find_equiv_index( ...@@ -440,8 +440,8 @@ dict_foreign_find_equiv_index(
foreign->foreign_index, or NULL */ foreign->foreign_index, or NULL */
dict_foreign_t* foreign);/* in: foreign key */ dict_foreign_t* foreign);/* in: foreign key */
/************************************************************************** /**************************************************************************
Returns an index object by matching on the name and column names and if Returns an index object by matching on the name and column names and
more than index is found return the index with the higher id.*/ if more than one index matches return the index with the max id */
UNIV_INTERN UNIV_INTERN
dict_index_t* dict_index_t*
dict_table_get_index_by_max_id( dict_table_get_index_by_max_id(
......
...@@ -614,11 +614,14 @@ os_aio( ...@@ -614,11 +614,14 @@ os_aio(
ulint offset_high, /* in: most significant 32 bits of ulint offset_high, /* in: most significant 32 bits of
offset */ offset */
ulint n, /* in: number of bytes to read or write */ ulint n, /* in: number of bytes to read or write */
fil_node_t* message1,/* in: messages for the aio handler (these fil_node_t* message1,/* in: message for the aio handler
can be used to identify a completed aio (can be used to identify a completed
operation); if mode is OS_AIO_SYNC, these aio operation); ignored if mode is
are ignored */ OS_AIO_SYNC */
void* message2); void* message2);/* in: message for the aio handler
(can be used to identify a completed
aio operation); ignored if mode is
OS_AIO_SYNC */
/**************************************************************************** /****************************************************************************
Wakes up all async i/o threads so that they know to exit themselves in Wakes up all async i/o threads so that they know to exit themselves in
shutdown. */ shutdown. */
......
...@@ -84,7 +84,7 @@ UNIV_INTERN ...@@ -84,7 +84,7 @@ UNIV_INTERN
void void
trx_sys_doublewrite_init_or_restore_pages( trx_sys_doublewrite_init_or_restore_pages(
/*======================================*/ /*======================================*/
ibool restore_corrupt_pages); ibool restore_corrupt_pages); /* in: TRUE=restore pages */
/******************************************************************** /********************************************************************
Marks the trx sys header when we have successfully upgraded to the >= 4.1.x Marks the trx sys header when we have successfully upgraded to the >= 4.1.x
multiple tablespace format. */ multiple tablespace format. */
......
...@@ -3371,11 +3371,14 @@ os_aio( ...@@ -3371,11 +3371,14 @@ os_aio(
ulint offset_high, /* in: most significant 32 bits of ulint offset_high, /* in: most significant 32 bits of
offset */ offset */
ulint n, /* in: number of bytes to read or write */ ulint n, /* in: number of bytes to read or write */
fil_node_t* message1,/* in: messages for the aio handler (these fil_node_t* message1,/* in: message for the aio handler
can be used to identify a completed aio (can be used to identify a completed
operation); if mode is OS_AIO_SYNC, these aio operation); ignored if mode is
are ignored */ OS_AIO_SYNC */
void* message2) void* message2)/* in: message for the aio handler
(can be used to identify a completed
aio operation); ignored if mode is
OS_AIO_SYNC */
{ {
os_aio_array_t* array; os_aio_array_t* array;
os_aio_slot_t* slot; os_aio_slot_t* slot;
......
...@@ -403,7 +403,7 @@ UNIV_INTERN ...@@ -403,7 +403,7 @@ UNIV_INTERN
void void
trx_sys_doublewrite_init_or_restore_pages( trx_sys_doublewrite_init_or_restore_pages(
/*======================================*/ /*======================================*/
ibool restore_corrupt_pages) ibool restore_corrupt_pages) /* in: TRUE=restore pages */
{ {
byte* buf; byte* buf;
byte* read_buf; byte* read_buf;
......
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