summaryrefslogtreecommitdiff
path: root/myisam
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2003-10-30 01:01:53 +0200
committermonty@narttu.mysql.fi <>2003-10-30 01:01:53 +0200
commitbc00893d165a8881160011169a25754f10cdb06d (patch)
tree23e8f033fabf45d5fcecdcf738daec2e72cd9ef7 /myisam
parent76ff0478195ef348cd71144fde5d6737306d12d3 (diff)
downloadmariadb-git-bc00893d165a8881160011169a25754f10cdb06d.tar.gz
Change back service name to MySQL
Don't add service name to read config file segments if it's "MySQL" Fixed possible memory leak when CHANGE USER failed.
Diffstat (limited to 'myisam')
-rw-r--r--myisam/myisamchk.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/myisam/myisamchk.c b/myisam/myisamchk.c
index b7627fc59fd..f1deda41f8b 100644
--- a/myisam/myisamchk.c
+++ b/myisam/myisamchk.c
@@ -401,7 +401,9 @@ static void usage(void)
Change the character set used by the index\n\
-q, --quick Faster repair by not modifying the data file.\n\
One can give a second '-q' to force myisamchk to\n\
- modify the original datafile in case of duplicate keys\n\
+ modify the original datafile in case of duplicate keys.\n\
+ NOTE: Tables where the data file is currupted can't be\n\
+ fixed with this option.\n\
-u, --unpack Unpack file packed with myisampack.\n\
");
@@ -1094,7 +1096,7 @@ end2:
filename));
if (param->testflag & T_REP_ANY)
VOID(fprintf(stderr,
- "Try fixing it by using the --safe-recover (-o) or the --force (-f) option\n"));
+ "Try fixing it by using the --safe-recover (-o), the --force (-f) option or by not using the --quick (-q) flag\n"));
}
else if (!(param->error_printed & 2) &&
!(param->testflag & T_FORCE_CREATE))