diff options
author | monty@hundin.mysql.fi <> | 2001-06-28 10:58:04 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-06-28 10:58:04 +0300 |
commit | 96aac3f0f58211be19544d7c04f970051fe2548b (patch) | |
tree | 08e5660b5ab25272451c16830eff88cf185976a0 /myisam | |
parent | f6cfc8a80dc346e7519b5a71969463b1748eadfe (diff) | |
download | mariadb-git-96aac3f0f58211be19544d7c04f970051fe2548b.tar.gz |
Cleanup
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/myisamchk.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/myisam/myisamchk.c b/myisam/myisamchk.c index 06d34c10659..dd23e214ccf 100644 --- a/myisam/myisamchk.c +++ b/myisam/myisamchk.c @@ -201,7 +201,7 @@ static struct option long_options[] = static void print_version(void) { - printf("%s Ver 1.46 for %s at %s\n",my_progname,SYSTEM_TYPE, + printf("%s Ver 1.47 for %s at %s\n",my_progname,SYSTEM_TYPE, MACHINE_TYPE); } @@ -234,7 +234,8 @@ static void usage(void) -F, --fast Check only tables that hasn't been closed properly\n\ -C, --check-only-changed\n\ Check only tables that has changed since last check\n\ - -f, --force Restart with -r if there are any errors in the table\n\ + -f, --force Restart with -r if there are any errors in the table.\n\ + States will be updated as with --update-state\n\ -i, --information Print statistics information about table that is checked\n\ -m, --medium-check Faster than extended-check, but only finds 99.99% of\n\ all errors. Should be good enough for most cases\n\ @@ -359,7 +360,7 @@ static void get_options(register int *argc,register char ***argv) break; case 'f': check_param.tmpfile_createflag= O_RDWR | O_TRUNC; - check_param.testflag|=T_FORCE_CREATE; + check_param.testflag|= T_FORCE_CREATE | T_UPDATE_STATE; break; case 'F': check_param.testflag|=T_FAST; |