Bug #62827 | MyISAM repair-by-sort buffer cannot be > 4 GB even on 64-bit architectures | ||
---|---|---|---|
Submitted: | 19 Oct 2011 18:14 | Modified: | 19 Oct 2011 18:53 |
Reporter: | Alexey Kopytov | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: MyISAM storage engine | Severity: | S3 (Non-critical) |
Version: | 5.1, 5.5 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[19 Oct 2011 18:14]
Alexey Kopytov
[19 Oct 2011 18:27]
Valeriy Kravchuk
Thank you for the bug report. Verified by code review of storage/myisam/sort.c (with current mysql-5.5).
[19 Oct 2011 18:48]
MySQL Verification Team
seen bug #45702 ?
[19 Oct 2011 18:53]
Valeriy Kravchuk
Indeed, bug #45702 explicitly mentions the following: "in the code below we get parameter as ulong and then cast it again to uint int _create_index_by_sort(MI_SORT_PARAM *info,my_bool no_messages, ulong sortbuff_size) { ... uint memavl,old_memavl,keys,sort_length; ... memavl=max(sortbuff_size,MIN_SORT_MEMORY); ... } " among other things, and this is the code this report is about it seems. We can call this a duplicate.