summaryrefslogtreecommitdiff
path: root/sql/key.cc
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2016-10-16 11:01:01 +0000
committerSergei Petrunia <psergey@askmonty.org>2016-10-16 11:01:01 +0000
commitd26283458c71a1a333962bf7ed075e54bbc8f15c (patch)
treed63cd556169df16fd935d1b97f472556062ea874 /sql/key.cc
parent274e5be1942aa0b6533d78b43454a7ed940b6628 (diff)
downloadmariadb-git-d26283458c71a1a333962bf7ed075e54bbc8f15c.tar.gz
MariaRocks port: make key_restore() parameter const
Diffstat (limited to 'sql/key.cc')
-rw-r--r--sql/key.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/key.cc b/sql/key.cc
index 31b65adabe9..77660c0fc8c 100644
--- a/sql/key.cc
+++ b/sql/key.cc
@@ -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;