mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MariaRocks port: make key_restore() parameter const
This commit is contained in:
@ -176,7 +176,7 @@ void key_copy(uchar *to_key, uchar *from_record, KEY *key_info,
|
|||||||
@param key_length specifies length of all keyparts that will be restored
|
@param key_length specifies length of all keyparts that will be restored
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void key_restore(uchar *to_record, uchar *from_key, KEY *key_info,
|
void key_restore(uchar *to_record, const uchar *from_key, KEY *key_info,
|
||||||
uint key_length)
|
uint key_length)
|
||||||
{
|
{
|
||||||
uint length;
|
uint length;
|
||||||
|
@ -29,7 +29,7 @@ int find_ref_key(KEY *key, uint key_count, uchar *record, Field *field,
|
|||||||
uint *key_length, uint *keypart);
|
uint *key_length, uint *keypart);
|
||||||
void key_copy(uchar *to_key, uchar *from_record, KEY *key_info, uint key_length,
|
void key_copy(uchar *to_key, uchar *from_record, KEY *key_info, uint key_length,
|
||||||
bool with_zerofill= FALSE);
|
bool with_zerofill= FALSE);
|
||||||
void key_restore(uchar *to_record, uchar *from_key, KEY *key_info,
|
void key_restore(uchar *to_record, const uchar *from_key, KEY *key_info,
|
||||||
uint key_length);
|
uint key_length);
|
||||||
bool key_cmp_if_same(TABLE *form,const uchar *key,uint index,uint key_length);
|
bool key_cmp_if_same(TABLE *form,const uchar *key,uint index,uint key_length);
|
||||||
void key_unpack(String *to, TABLE *table, KEY *key);
|
void key_unpack(String *to, TABLE *table, KEY *key);
|
||||||
|
Reference in New Issue
Block a user