Commit 8758ac86 authored by marko's avatar marko

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

parent d1b3d492
...@@ -3697,11 +3697,12 @@ rec_t* ...@@ -3697,11 +3697,12 @@ 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
copy prefix */
ulint* n_fields,/* out: number of fields copied */ ulint* n_fields,/* out: number of fields copied */
byte** buf, /* in/out: memory buffer for the copied prefix, byte** buf, /* in/out: memory buffer for the
or NULL */ copied prefix, or NULL */
ulint* buf_size)/* in/out: buffer size */ ulint* buf_size)/* in/out: buffer size */
{ {
ulint n; ulint n;
......
...@@ -902,11 +902,12 @@ rec_t* ...@@ -902,11 +902,12 @@ 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
copy prefix */
ulint* n_fields,/* out: number of fields copied */ ulint* n_fields,/* out: number of fields copied */
byte** buf, /* in/out: memory buffer for the copied prefix, byte** buf, /* in/out: memory buffer for the
or NULL */ copied prefix, or NULL */
ulint* buf_size);/* in/out: buffer size */ 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