diff options
author | unknown <serg@sergbook.mysql.com> | 2002-07-25 19:09:54 +0200 |
---|---|---|
committer | unknown <serg@sergbook.mysql.com> | 2002-07-25 19:09:54 +0200 |
commit | 55f65c0e4aaa00b18ffac4b972c6e254df78d303 (patch) | |
tree | 407b405e7344a627bbbbf16804fefe6ca2a9a8b9 /include | |
parent | bfcc54e5485c2e6693cd49a964df90dcb1372951 (diff) | |
parent | 20aa045477e8822620dc542ec0bdfac361945cb6 (diff) | |
download | mariadb-git-55f65c0e4aaa00b18ffac4b972c6e254df78d303.tar.gz |
Merge work:/home/bk/mysql-4.0
into sergbook.mysql.com:/usr/home/serg/Abk/mysql-4.0
Diffstat (limited to 'include')
-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 *); |