summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2002-06-30 23:29:25 +0000
committerunknown <serg@serg.mysql.com>2002-06-30 23:29:25 +0000
commit24e6b1b590893ef62df19608c22585d156e36e9e (patch)
tree34d47229775b8c950730434ea91db7a4bb43856f /myisam
parent85edab84072a5c3271194d2e35ce3f9db514de60 (diff)
downloadmariadb-git-24e6b1b590893ef62df19608c22585d156e36e9e.tar.gz
post-merge fix
myisam/myisamchk.c: typo fixed
Diffstat (limited to 'myisam')
-rw-r--r--myisam/mi_check.c4
-rw-r--r--myisam/myisamchk.c2
2 files changed, 3 insertions, 3 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;
diff --git a/myisam/myisamchk.c b/myisam/myisamchk.c
index 0ac089bd261..db03177edfc 100644
--- a/myisam/myisamchk.c
+++ b/myisam/myisamchk.c
@@ -219,7 +219,7 @@ static struct my_option my_long_options[] =
{"recover", 'r',
"Can fix almost anything except unique keys that aren't unique.",
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
- {"paraller-recover", 'p',
+ {"parallel-recover", 'p',
"Same as '-r' but creates all the keys in parallel",
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
{"safe-recover", 'o',