From 679c682dce044c521afd7bc9579451d73105f440 Mon Sep 17 00:00:00 2001 From: Michael Widenius Date: Sun, 3 Nov 2013 20:58:08 +0200 Subject: Fixed number of keys to be 64 bit safe --- storage/myisam/sort.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'storage/myisam') diff --git a/storage/myisam/sort.c b/storage/myisam/sort.c index 4bff7b14e1a..988b4393cba 100644 --- a/storage/myisam/sort.c +++ b/storage/myisam/sort.c @@ -542,7 +542,8 @@ int thr_write_keys(MI_SORT_PARAM *sort_param) { MI_SORT_INFO *sort_info=sort_param->sort_info; HA_CHECK *param=sort_info->param; - ulong UNINIT_VAR(length), keys; + ulonglong UNINIT_VAR(length); + ha_rows keys; ulong *rec_per_key_part=param->rec_per_key_part; int got_error=sort_info->got_error; uint i; -- cgit v1.2.1