summaryrefslogtreecommitdiff
path: root/myisam/mi_check.c
diff options
context:
space:
mode:
authorserg@serg.mysql.com <>2002-06-30 23:29:25 +0000
committerserg@serg.mysql.com <>2002-06-30 23:29:25 +0000
commitf3e1fb4d4c5948feb31fc7ca6ac43ffef4e35173 (patch)
tree34d47229775b8c950730434ea91db7a4bb43856f /myisam/mi_check.c
parentac26ba181edda3d87bf247e27d932c09befa9a72 (diff)
downloadmariadb-git-f3e1fb4d4c5948feb31fc7ca6ac43ffef4e35173.tar.gz
post-merge fix
Diffstat (limited to 'myisam/mi_check.c')
-rw-r--r--myisam/mi_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/myisam/mi_check.c b/myisam/mi_check.c
index f27f297b3a4..b325f350c2b 100644
--- a/myisam/mi_check.c
+++ b/myisam/mi_check.c
@@ -2109,7 +2109,7 @@ err:
DESCRIPTION
Same as mi_repair_by_sort but do it multithreaded
Each key is handled by a separate thread.
- TODO: make a number of thread a parameter
+ TODO: make a number of threads a parameter
RESULT
0 ok
@@ -2358,7 +2358,7 @@ int mi_repair_parallel(MI_CHECK *param, register MI_INFO *info,
}
got_error=1; /* Assume the following may go wrong */
- if (sort_param->fix_datafile)
+ if (sort_param[0].fix_datafile)
{
if (write_data_suffix(&sort_info,1) || end_io_cache(&info->rec_cache))
goto err;