Commit 7aa290a4 authored by unknown's avatar unknown

Small fixes in mysql and myisamchk.


client/mysql.cc:
  Small information add to mysql internal help command.
myisam/myisamchk.c:
  Fixed a few typos reported by Paul DuBois.
parent a0106bad
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
#include <signal.h> #include <signal.h>
#include <violite.h> #include <violite.h>
const char *VER= "12.11"; const char *VER= "12.12";
/* Don't try to make a nice table if the data is too big */ /* Don't try to make a nice table if the data is too big */
#define MAX_COLUMN_LENGTH 1024 #define MAX_COLUMN_LENGTH 1024
...@@ -1319,7 +1319,9 @@ com_help (String *buffer __attribute__((unused)), ...@@ -1319,7 +1319,9 @@ com_help (String *buffer __attribute__((unused)),
{ {
reg1 int i; reg1 int i;
put_info("\nMySQL commands:",INFO_INFO); put_info("\nFull documentation of MySQL is available at\nhttp://www.mysql.com/documentation/mysql/bychapter/\n", INFO_INFO);
put_info("For technical support contracts, visit https://order.mysql.com/\n", INFO_INFO);
put_info("MySQL commands:",INFO_INFO);
if (!named_cmds) if (!named_cmds)
put_info("Note that all text commands must be first on line and end with ';'",INFO_INFO); put_info("Note that all text commands must be first on line and end with ';'",INFO_INFO);
for (i = 0; commands[i].name; i++) for (i = 0; commands[i].name; i++)
......
...@@ -209,7 +209,7 @@ static struct my_option my_long_options[] = ...@@ -209,7 +209,7 @@ static struct my_option my_long_options[] =
(gptr*) &check_param.keys_in_use, (gptr*) &check_param.keys_in_use,
0, GET_ULL, REQUIRED_ARG, -1, 0, 0, 0, 0, 0}, 0, GET_ULL, REQUIRED_ARG, -1, 0, 0, 0, 0, 0},
{"medium-check", 'm', {"medium-check", 'm',
"Faster than extended-check, but only finds 99.99% of all errors. Should be good enough for most cases.", "Faster than extend-check, but only finds 99.99% of all errors. Should be good enough for most cases.",
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
{"quick", 'q', "Faster repair by not modifying the data file.", {"quick", 'q', "Faster repair by not modifying the data file.",
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0}, 0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
...@@ -360,7 +360,7 @@ static void usage(void) ...@@ -360,7 +360,7 @@ static void usage(void)
-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\ States will be updated as with '--update-state'\n\
-i, --information Print statistics information about table that is checked\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\ -m, --medium-check Faster than extend-check, but only finds 99.99% of\n\
all errors. Should be good enough for most cases\n\ all errors. Should be good enough for most cases\n\
-U --update-state Mark tables as crashed if you find any errors\n\ -U --update-state Mark tables as crashed if you find any errors\n\
-T, --read-only Don't mark table as checked\n"); -T, --read-only Don't mark table as checked\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment