Commit 9bc030f6 authored by jani@hynda.(none)'s avatar jani@hynda.(none)
Browse files

Small fixes in mysql and myisamchk.

parent 65c09008
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@
#include <signal.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 */
#define MAX_COLUMN_LENGTH	     1024
@@ -1319,7 +1319,9 @@ com_help (String *buffer __attribute__((unused)),
{
  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)
    put_info("Note that all text commands must be first on line and end with ';'",INFO_INFO);
  for (i = 0; commands[i].name; i++)
+2 −2
Original line number Diff line number Diff line
@@ -209,7 +209,7 @@ static struct my_option my_long_options[] =
   (gptr*) &check_param.keys_in_use,
   0, GET_ULL, REQUIRED_ARG, -1, 0, 0, 0, 0, 0},
  {"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},
  {"quick", 'q', "Faster repair by not modifying the data file.",
   0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
@@ -360,7 +360,7 @@ static void usage(void)
  -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\
  -m, --medium-check  Faster than extend-check, but only finds 99.99% of\n\
		      all errors.  Should be good enough for most cases\n\
  -U  --update-state  Mark tables as crashed if you find any errors\n\
  -T, --read-only     Don't mark table as checked\n");