summaryrefslogtreecommitdiff
path: root/sql/key.h
diff options
context:
space:
mode:
authorMichael Widenius <monty@askmonty.org>2013-05-21 22:00:08 +0300
committerMichael Widenius <monty@askmonty.org>2013-05-21 22:00:08 +0300
commit3143ad589a24ac7581e2195ba0dc13576cb3c9da (patch)
tree9c02baa18cdca6f60d80e2f7ee7f3f792c293ab9 /sql/key.h
parent068c61978e3a81836d52b8caf11e044290159ad1 (diff)
downloadmariadb-git-3143ad589a24ac7581e2195ba0dc13576cb3c9da.tar.gz
Push a lot of small fixes to get larger parts to compile
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 8bf6f88fa04..42e29a0937d 100644
--- a/sql/key.h
+++ b/sql/key.h
@@ -32,7 +32,7 @@ void key_copy(uchar *to_key, uchar *from_record, KEY *key_info, uint key_length,
void key_restore(uchar *to_record, uchar *from_key, KEY *key_info,
uint key_length);
bool key_cmp_if_same(TABLE *form,const uchar *key,uint index,uint key_length);
-void key_unpack(String *to,TABLE *form,uint index);
+void key_unpack(String *to, TABLE *form, KEY *key);
bool is_key_used(TABLE *table, uint idx, const MY_BITMAP *fields);
int key_cmp(KEY_PART_INFO *key_part, const uchar *key, uint key_length);
ulong key_hashnr(KEY *key_info, uint used_key_parts, const uchar *key);