diff options
author | unknown <serg@sergbook.mysql.com> | 2002-07-25 19:08:37 +0200 |
---|---|---|
committer | unknown <serg@sergbook.mysql.com> | 2002-07-25 19:08:37 +0200 |
commit | 2ffd9699294ee99b9d9c9e3972e98086d463e5e1 (patch) | |
tree | 9bb7b797b869c22abf894ed8f3906ee85ad5b386 /include/myisam.h | |
parent | 65366ce789f58e5bfcb192fc416f0f4021baf374 (diff) | |
download | mariadb-git-2ffd9699294ee99b9d9c9e3972e98086d463e5e1.tar.gz |
MI_SORT_INFO and MI_SORT_PARAM massaging
Diffstat (limited to 'include/myisam.h')
-rw-r--r-- | include/myisam.h | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/include/myisam.h b/include/myisam.h index 248aabb807d..ac0305b2c4b 100644 --- a/include/myisam.h +++ b/include/myisam.h @@ -354,15 +354,15 @@ typedef struct st_mi_check_param typedef struct st_sort_info { - MI_INFO *info; - MI_CHECK *param; - enum data_file_type new_data_file_type; - SORT_KEY_BLOCKS *key_block,*key_block_end; - uint current_key, total_keys; my_off_t filelength,dupp,buff_length; ha_rows max_records; - char *buff; + uint current_key, total_keys; myf myf_rw; + enum data_file_type new_data_file_type; + MI_INFO *info; + MI_CHECK *param; + char *buff; + SORT_KEY_BLOCKS *key_block,*key_block_end; /* sync things*/ uint got_error, threads_running; pthread_mutex_t mutex; @@ -373,20 +373,19 @@ typedef struct st_sort_info typedef struct st_mi_sort_param { pthread_t thr; - IO_CACHE read_cache; + IO_CACHE read_cache, tempfile, tempfile_for_exceptions; + DYNAMIC_ARRAY buffpek; ulonglong unique[MI_MAX_KEY_SEG+1]; + my_off_t pos,max_pos,filepos,start_recpos; uint key, key_length,real_key_length,sortbuff_size; uint maxbuffers, keys, find_length, sort_keys_length; - uchar **sort_keys; - byte *rec_buff; uint alloced_rec_buff_length; - void *wordlist, *wordptr; + my_bool fix_datafile, master; MI_KEYDEF *keyinfo; SORT_INFO *sort_info; - IO_CACHE tempfile, tempfile_for_exceptions; - DYNAMIC_ARRAY buffpek; - my_off_t pos,max_pos,filepos,start_recpos; - my_bool fix_datafile, master; + uchar **sort_keys; + byte *rec_buff; + void *wordlist, *wordptr; char *record; char *tmpdir; int (*key_cmp)(struct st_mi_sort_param *, const void *, const void *); |