Commit b5bb1096 authored by vasil's avatar vasil

Fix some in:/out: comments.

Approved by:	Marko
parent c0a0aa1f
...@@ -795,7 +795,8 @@ UNIV_INLINE ...@@ -795,7 +795,8 @@ UNIV_INLINE
void void
rec_offs_set_n_alloc( rec_offs_set_n_alloc(
/*=================*/ /*=================*/
ulint* offsets, /* in: array for rec_get_offsets() */ ulint* offsets, /* out: array for rec_get_offsets(),
must be allocated */
ulint n_alloc) /* in: number of elements */ ulint n_alloc) /* in: number of elements */
{ {
ut_ad(offsets); ut_ad(offsets);
...@@ -1282,7 +1283,8 @@ UNIV_INLINE ...@@ -1282,7 +1283,8 @@ UNIV_INLINE
void void
rec_offs_set_n_fields( rec_offs_set_n_fields(
/*==================*/ /*==================*/
ulint* offsets, /* in: array returned by rec_get_offsets() */ ulint* offsets, /* in/out: array returned by
rec_get_offsets() */
ulint n_fields) /* in: number of fields */ ulint n_fields) /* in: number of fields */
{ {
ut_ad(offsets); ut_ad(offsets);
......
...@@ -153,7 +153,6 @@ static ...@@ -153,7 +153,6 @@ static
void void
rec_init_offsets( rec_init_offsets(
/*=============*/ /*=============*/
/* out: the offsets */
rec_t* rec, /* in: physical record */ rec_t* rec, /* in: physical record */
dict_index_t* index, /* in: record descriptor */ dict_index_t* index, /* in: record descriptor */
ulint* offsets)/* in/out: array of offsets; ulint* offsets)/* in/out: array of offsets;
...@@ -304,7 +303,7 @@ rec_get_offsets_func( ...@@ -304,7 +303,7 @@ rec_get_offsets_func(
/* out: the new offsets */ /* out: the new offsets */
rec_t* rec, /* in: physical record */ rec_t* rec, /* in: physical record */
dict_index_t* index, /* in: record descriptor */ dict_index_t* index, /* in: record descriptor */
ulint* offsets,/* in: array consisting of offsets[0] ulint* offsets,/* in/out: array consisting of offsets[0]
allocated elements, or an array from allocated elements, or an array from
rec_get_offsets(), or NULL */ rec_get_offsets(), or NULL */
ulint n_fields,/* in: maximum number of initialized fields ulint n_fields,/* in: maximum number of initialized fields
......
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