summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <daniel@mariadb.org>2021-02-25 15:44:45 +1100
committerDaniel Black <daniel@mariadb.org>2021-02-25 15:44:49 +1100
commit48b5f8a5444af05c460b6142b0574b789a4e7882 (patch)
tree0c56088265847f15b2fb3b8c4d848ce7c504a328
parent3e2afcb3f409802d3cd7a713aea0dab0bfde6f48 (diff)
downloadmariadb-git-48b5f8a5444af05c460b6142b0574b789a4e7882.tar.gz
mysys: lf_hash - fix l_search size_t keylen
Correcting an incorrect merge from 10.2
-rw-r--r--mysys/lf_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/lf_hash.c b/mysys/lf_hash.c
index c8d80f377e5..911d7228c0e 100644
--- a/mysys/lf_hash.c
+++ b/mysys/lf_hash.c
@@ -86,7 +86,7 @@ typedef struct {
1 - error (callbck returned 1)
*/
static int l_find(LF_SLIST **head, CHARSET_INFO *cs, uint32 hashnr,
- const uchar *key, uint keylen, CURSOR *cursor, LF_PINS *pins,
+ const uchar *key, size_t keylen, CURSOR *cursor, LF_PINS *pins,
my_hash_walk_action callback)
{
uint32 cur_hashnr;