diff options
author | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2009-05-27 13:11:28 +0500 |
---|---|---|
committer | Sergey Glukhov <Sergey.Glukhov@sun.com> | 2009-05-27 13:11:28 +0500 |
commit | d31b6e47844bb277c69eb9a8993a1024cbdca629 (patch) | |
tree | 72065058c6bd16728beeeed9627653b259d94722 /include | |
parent | d7d3c56aee10e81cc847ab8f949f40398e1a752c (diff) | |
download | mariadb-git-d31b6e47844bb277c69eb9a8993a1024cbdca629.tar.gz |
Bug#43940 64-bit windows myisamchk doesn't support key_buffer_size > 4G
The fix is to allow myisamchk to use >4G key_buffer_size on win64
include/myisam.h:
use ulonglong instead of ulong for use_buffers
storage/myisam/myisamchk.c:
use ulonglong instead of ulong for use_buffers
Diffstat (limited to 'include')
-rw-r--r-- | include/myisam.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/myisam.h b/include/myisam.h index d7bfdf7191e..02251eeacb4 100644 --- a/include/myisam.h +++ b/include/myisam.h @@ -404,7 +404,8 @@ typedef struct st_mi_check_param my_off_t keydata,totaldata,key_blocks,start_check_pos; ha_rows total_records,total_deleted; ha_checksum record_checksum,glob_crc; - ulong use_buffers,read_buffer_length,write_buffer_length, + ulonglong use_buffers; + ulong read_buffer_length,write_buffer_length, sort_buffer_length,sort_key_blocks; uint out_flag,warning_printed,error_printed,verbose; uint opt_sort_key,total_files,max_level; |