Commit 28129cd4 authored by Varun Gupta's avatar Varun Gupta

Fix a compilation issue

parent acc4da9c
...@@ -980,7 +980,6 @@ write_keys(Sort_param *param, SORT_INFO *fs_info, uint count, ...@@ -980,7 +980,6 @@ write_keys(Sort_param *param, SORT_INFO *fs_info, uint count,
if (my_b_tell(buffpek_pointers) + sizeof(Merge_chunk) > (ulonglong)UINT_MAX) if (my_b_tell(buffpek_pointers) + sizeof(Merge_chunk) > (ulonglong)UINT_MAX)
DBUG_RETURN(1); DBUG_RETURN(1);
bzero(&buffpek, sizeof(buffpek));
buffpek.set_file_position(my_b_tell(tempfile)); buffpek.set_file_position(my_b_tell(tempfile));
if ((ha_rows) count > param->max_rows) if ((ha_rows) count > param->max_rows)
count=(uint) param->max_rows; /* purecov: inspected */ count=(uint) param->max_rows; /* purecov: inspected */
......
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