diff options
author | unknown <serg@serg.mysql.com> | 2002-10-08 14:34:04 +0000 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2002-10-08 14:34:04 +0000 |
commit | a7430f38b30436d00cafcb33ce62f2f2efa0bc19 (patch) | |
tree | c86321a262ba5ad3a010113a2251687c23675da4 /sql/ha_myisam.cc | |
parent | 13da94b7a23cde8301e0c61e12208871de35ca5f (diff) | |
download | mariadb-git-a7430f38b30436d00cafcb33ce62f2f2efa0bc19.tar.gz |
--tmpdir=dir1:dir2:... support in myisamchk
Diffstat (limited to 'sql/ha_myisam.cc')
-rw-r--r-- | sql/ha_myisam.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_myisam.cc b/sql/ha_myisam.cc index 4aae044148b..e02252e711f 100644 --- a/sql/ha_myisam.cc +++ b/sql/ha_myisam.cc @@ -559,7 +559,7 @@ int ha_myisam::repair(THD *thd, MI_CHECK ¶m, bool optimize) param.tmpfile_createflag = O_RDWR | O_TRUNC; param.using_global_keycache = 1; param.thd=thd; - param.tmpdir=mysql_tmpdir; + param.tmpdir=&mysql_tmpdir_list; param.out_flag=0; strmov(fixed_name,file->filename); @@ -718,7 +718,7 @@ bool ha_myisam::activate_all_index(THD *thd) T_CREATE_MISSING_KEYS); param.myf_rw&= ~MY_WAIT_IF_FULL; param.sort_buffer_length= thd->variables.myisam_sort_buff_size; - param.tmpdir=mysql_tmpdir; + param.tmpdir=&mysql_tmpdir_list; error=repair(thd,param,0) != HA_ADMIN_OK; thd->proc_info=save_proc_info; } |