summaryrefslogtreecommitdiff
path: root/sql/key.h
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.h
parentb9df4d2a35f11c57c3a9e55117318d7fea034918 (diff)
downloadmariadb-git-6334b57621982b6be3e671c9ad5a0f458c2f95e7.tar.gz
cleanup: const
Diffstat (limited to 'sql/key.h')
-rw-r--r--sql/key.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/key.h b/sql/key.h
index 45f58c75655..871373bfcd5 100644
--- a/sql/key.h
+++ b/sql/key.h
@@ -25,7 +25,7 @@ typedef struct st_key_part_info KEY_PART_INFO;
int find_ref_key(KEY *key, uint key_count, uchar *record, Field *field,
uint *key_length, uint *keypart);
-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= FALSE);
void key_restore(uchar *to_record, const uchar *from_key, KEY *key_info,
uint key_length);