1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MariaRocks port: make key_restore() parameter const

This commit is contained in:
Sergei Petrunia
2016-10-16 11:01:01 +00:00
parent 274e5be194
commit d26283458c
2 changed files with 2 additions and 2 deletions

View File

@@ -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
*/
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 length;