summaryrefslogtreecommitdiff
path: root/client/mysqlcheck.c
diff options
context:
space:
mode:
Diffstat (limited to 'client/mysqlcheck.c')
-rw-r--r--client/mysqlcheck.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/client/mysqlcheck.c b/client/mysqlcheck.c
index ebaa8366c72..0f7bfb37ecf 100644
--- a/client/mysqlcheck.c
+++ b/client/mysqlcheck.c
@@ -18,19 +18,12 @@
#define CHECK_VERSION "1.02"
-#include <global.h>
-#include <my_sys.h>
-#include <m_string.h>
+#include "client_priv.h"
#include <m_ctype.h>
-
-#include "mysql.h"
#include "mysql_version.h"
#include "mysqld_error.h"
-#include <getopt.h>
#include "sslopt-vars.h"
-#include <m_string.h>
-
/* Exit codes */
#define EX_USAGE 1
@@ -50,9 +43,6 @@ DYNAMIC_ARRAY tables4repair;
enum operations {DO_CHECK, DO_REPAIR, DO_ANALYZE, DO_OPTIMIZE};
-enum options {OPT_CHARSETS_DIR=256, OPT_COMPRESS, OPT_DEFAULT_CHARSET,
- OPT_TABLES, OPT_AUTO_REPAIR};
-
static struct option long_options[] =
{
{"all-databases", no_argument, 0, 'A'},