Commit 0c8ffae6 authored by marko's avatar marko

branches/zip: dict_index_copy_rec_order_prefix(): Add const qualifiers.

parent aaa3a5f0
...@@ -3696,13 +3696,14 @@ index entry uniquely. */ ...@@ -3696,13 +3696,14 @@ index entry uniquely. */
rec_t* rec_t*
dict_index_copy_rec_order_prefix( dict_index_copy_rec_order_prefix(
/*=============================*/ /*=============================*/
/* out: pointer to the prefix record */ /* out: pointer to the prefix record */
dict_index_t* index, /* in: index tree */ const dict_index_t* index, /* in: index */
rec_t* rec, /* in: record for which to copy prefix */ const rec_t* rec, /* in: record for which to
ulint* n_fields,/* out: number of fields copied */ copy prefix */
byte** buf, /* in/out: memory buffer for the copied prefix, ulint* n_fields,/* out: number of fields copied */
or NULL */ byte** buf, /* in/out: memory buffer for the
ulint* buf_size)/* in/out: buffer size */ copied prefix, or NULL */
ulint* buf_size)/* in/out: buffer size */
{ {
ulint n; ulint n;
......
...@@ -901,13 +901,14 @@ index entry uniquely. */ ...@@ -901,13 +901,14 @@ index entry uniquely. */
rec_t* rec_t*
dict_index_copy_rec_order_prefix( dict_index_copy_rec_order_prefix(
/*=============================*/ /*=============================*/
/* out: pointer to the prefix record */ /* out: pointer to the prefix record */
dict_index_t* index, /* in: index */ const dict_index_t* index, /* in: index */
rec_t* rec, /* in: record for which to copy prefix */ const rec_t* rec, /* in: record for which to
ulint* n_fields,/* out: number of fields copied */ copy prefix */
byte** buf, /* in/out: memory buffer for the copied prefix, ulint* n_fields,/* out: number of fields copied */
or NULL */ byte** buf, /* in/out: memory buffer for the
ulint* buf_size);/* in/out: buffer size */ copied prefix, or NULL */
ulint* buf_size);/* in/out: buffer size */
/************************************************************************** /**************************************************************************
Builds a typed data tuple out of a physical record. */ Builds a typed data tuple out of a physical record. */
......
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