summaryrefslogtreecommitdiff
path: root/include/myisam.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2002-06-30 14:17:29 +0000
committerunknown <serg@serg.mysql.com>2002-06-30 14:17:29 +0000
commit1158fd9f2e5934bdcf871791895bec58854c843c (patch)
treed21dcff9bca4b293a433b84b9356e37d0531494b /include/myisam.h
parentea01d6572a9d8187dcf70753d5bc420a9c2e139b (diff)
downloadmariadb-git-1158fd9f2e5934bdcf871791895bec58854c843c.tar.gz
"myisamchk -p" for parallel recover works (no extensive testing though)
include/my_sys.h: make [un]lock_io_cache functions, not macro some io_cache_share functions int->void include/myisam.h: mi_repair_by_sort_r -> mi_repair_parallel MI_SORT_PARAM.master field for updating info->s.state struct myisam/mi_check.c: mi_repair_by_sort_r -> mi_repair_parallel MI_SORT_PARAM.master field for updating info->s.state struct myisam/sort.c: my_thread_init()/my_thread_end() misc bugfixes mysys/mf_iocache.c: io_cache_share functions int->void comments added [un]lock_io_cache functions added
Diffstat (limited to 'include/myisam.h')
-rw-r--r--include/myisam.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/myisam.h b/include/myisam.h
index 32e9225efdf..57d219ab358 100644
--- a/include/myisam.h
+++ b/include/myisam.h
@@ -382,7 +382,7 @@ typedef struct st_mi_sort_param
IO_CACHE tempfile, tempfile_for_exceptions;
DYNAMIC_ARRAY buffpek;
my_off_t pos,max_pos,filepos,start_recpos;
- my_bool fix_datafile;
+ my_bool fix_datafile, master;
char *record;
char *tmpdir;
int (*key_cmp)(struct st_mi_sort_param *, const void *, const void *);
@@ -403,6 +403,8 @@ int mi_repair(MI_CHECK *param, register MI_INFO *info,
int mi_sort_index(MI_CHECK *param, register MI_INFO *info, my_string name);
int mi_repair_by_sort(MI_CHECK *param, register MI_INFO *info,
const char * name, int rep_quick);
+int mi_repair_parallel(MI_CHECK *param, register MI_INFO *info,
+ const char * name, int rep_quick);
int change_to_newfile(const char * filename, const char * old_ext,
const char * new_ext, uint raid_chunks,
myf myflags);