summaryrefslogtreecommitdiff
path: root/include/myisam.h
diff options
context:
space:
mode:
authorAshish Agarwal <ashish.y.agarwal@oracle.com>2012-02-02 18:17:14 +0530
committerAshish Agarwal <ashish.y.agarwal@oracle.com>2012-02-02 18:17:14 +0530
commitf0955f9ec752d5631cb19b4cd5f045c7139fa68a (patch)
treea29c9283777c8468224c2b2421b36ca364c92f62 /include/myisam.h
parente6ce99e692fa4b70b4b8ba164167d740bba5b4e1 (diff)
downloadmariadb-git-f0955f9ec752d5631cb19b4cd5f045c7139fa68a.tar.gz
BUG#11754145 - 45702: IMPOSSIBE TO SPECIFY MYISAM_SORT_BUFFER > 4GB
ON 64 BIT MACHINES PROBLEM: When sorting index during repair of myisam tables, due to improper casting of buffer size variables value of myisam_ sort_buffer_size is not set greater than 4GB. SOLUTION: Proper casting of buffer size variable. myisam_buffer_size changed to unsigned long long to handle size > 4GB on linux as well as windows.
Diffstat (limited to 'include/myisam.h')
-rw-r--r--include/myisam.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/myisam.h b/include/myisam.h
index 0d73f8d1c5b..1b43c536531 100644
--- a/include/myisam.h
+++ b/include/myisam.h
@@ -401,14 +401,14 @@ typedef struct st_mi_check_param
ulonglong max_data_file_length;
ulonglong keys_in_use;
ulonglong max_record_length;
+ ulonglong sort_buffer_length;
my_off_t search_after_block;
my_off_t new_file_pos,key_file_blocks;
my_off_t keydata,totaldata,key_blocks,start_check_pos;
ha_rows total_records,total_deleted;
ha_checksum record_checksum,glob_crc;
ulonglong use_buffers;
- ulong read_buffer_length,write_buffer_length,
- sort_buffer_length,sort_key_blocks;
+ ulong read_buffer_length, write_buffer_length, sort_key_blocks;
uint out_flag,warning_printed,error_printed,verbose;
uint opt_sort_key,total_files,max_level;
uint testflag, key_cache_block_size;