Commit 8758ac86 authored by marko's avatar marko

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

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