Commit 679c682d authored by Michael Widenius's avatar Michael Widenius

Fixed number of keys to be 64 bit safe

parent 320b8528
...@@ -542,7 +542,8 @@ int thr_write_keys(MI_SORT_PARAM *sort_param) ...@@ -542,7 +542,8 @@ int thr_write_keys(MI_SORT_PARAM *sort_param)
{ {
MI_SORT_INFO *sort_info=sort_param->sort_info; MI_SORT_INFO *sort_info=sort_param->sort_info;
HA_CHECK *param=sort_info->param; 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; ulong *rec_per_key_part=param->rec_per_key_part;
int got_error=sort_info->got_error; int got_error=sort_info->got_error;
uint i; uint i;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment