diff options
Diffstat (limited to 'storage/myisam')
-rw-r--r-- | storage/myisam/sort.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/myisam/sort.c b/storage/myisam/sort.c index 3d68b486f00..8e45ca1a3ea 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; |