summaryrefslogtreecommitdiff
path: root/include/myisam.h
diff options
context:
space:
mode:
authorunknown <wax@mysql.com>2002-11-28 15:24:55 +0500
committerunknown <wax@mysql.com>2002-11-28 15:24:55 +0500
commit22b0bfa288838f23e7d6988dd3fcb79d25fa9685 (patch)
treee4c7725c7bea98f005ee28cc6ac4d0df2dcde6e2 /include/myisam.h
parent5a1b9e1d05ec4c52e89df1adf40312a55f8b7d3f (diff)
parent0c349665959e300485b7f64119cb20bdce5cd189 (diff)
downloadmariadb-git-22b0bfa288838f23e7d6988dd3fcb79d25fa9685.tar.gz
Merge mysql.com:/home/wax/mysql-4n into mysql.com:/home/wax/mysql-4mi
BitKeeper/etc/logging_ok: auto-union include/myisam.h: Auto merged myisam/myisamdef.h: Auto merged myisam/sort.c: Auto merged
Diffstat (limited to 'include/myisam.h')
-rw-r--r--include/myisam.h27
1 files changed, 0 insertions, 27 deletions
diff --git a/include/myisam.h b/include/myisam.h
index f11b18824d5..4f8fc149ba1 100644
--- a/include/myisam.h
+++ b/include/myisam.h
@@ -360,31 +360,6 @@ typedef struct st_sort_info
pthread_cond_t cond;
} SORT_INFO;
-
-typedef struct st_mi_sort_param
-{
- pthread_t thr;
- 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;
- my_bool fix_datafile, master;
- MI_KEYDEF *keyinfo;
- SORT_INFO *sort_info;
- uchar **sort_keys;
- byte *rec_buff;
- void *wordlist, *wordptr;
- char *record;
- MY_TMPDIR *tmpdir;
- int (*key_cmp)(struct st_mi_sort_param *, const void *, const void *);
- int (*key_read)(struct st_mi_sort_param *,void *);
- int (*key_write)(struct st_mi_sort_param *, const void *);
- void (*lock_in_memory)(MI_CHECK *);
-} MI_SORT_PARAM;
-
-
/* functions in mi_check */
void myisamchk_init(MI_CHECK *param);
int chk_status(MI_CHECK *param, MI_INFO *info);
@@ -415,9 +390,7 @@ int filecopy(MI_CHECK *param, File to,File from,my_off_t start,
my_off_t length, const char *type);
int movepoint(MI_INFO *info,byte *record,my_off_t oldpos,
my_off_t newpos, uint prot_key);
-int sort_write_record(MI_SORT_PARAM *sort_param);
int write_data_suffix(SORT_INFO *sort_info, my_bool fix_datafile);
-int _create_index_by_sort(MI_SORT_PARAM *info,my_bool no_messages, ulong);
int test_if_almost_full(MI_INFO *info);
int recreate_table(MI_CHECK *param, MI_INFO **org_info, char *filename);
void mi_disable_non_unique_index(MI_INFO *info, ha_rows rows);