summaryrefslogtreecommitdiff
path: root/sql/key.cc
diff options
context:
space:
mode:
authorNikita Malyavin <nikitamalyavin@gmail.com>2020-03-12 14:14:55 +0100
committerSergei Golubchik <serg@mariadb.org>2020-03-31 17:42:34 +0200
commit6334b57621982b6be3e671c9ad5a0f458c2f95e7 (patch)
tree52fc98153d67e0c32d93ef7fae4df367a7857bae /sql/key.cc
parentb9df4d2a35f11c57c3a9e55117318d7fea034918 (diff)
downloadmariadb-git-6334b57621982b6be3e671c9ad5a0f458c2f95e7.tar.gz
cleanup: 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 9dbb7a15726..5ec76d37d5b 100644
--- a/sql/key.cc
+++ b/sql/key.cc
@@ -112,7 +112,7 @@ int find_ref_key(KEY *key, uint key_count, uchar *record, Field *field,
@param with_zerofill skipped bytes in the key buffer to be filled with 0
*/
-void key_copy(uchar *to_key, const uchar *from_record, KEY *key_info,
+void key_copy(uchar *to_key, const uchar *from_record, const KEY *key_info,
uint key_length, bool with_zerofill)
{
uint length;