summaryrefslogtreecommitdiff
path: root/client/mysql.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/mysql.cc')
-rw-r--r--client/mysql.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index e4db7e93256..96536c9d5f0 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -25,17 +25,12 @@
*
**/
-#include <global.h>
-#include <my_sys.h>
-#include <m_string.h>
+#include "client_priv.h"
#include <m_ctype.h>
-#include "mysql.h"
-#include "errmsg.h"
#include <my_dir.h>
#ifndef __GNU_LIBRARY__
#define __GNU_LIBRARY__ // Skip warnings in getopt.h
#endif
-#include <getopt.h>
#include "my_readline.h"
#include <signal.h>
@@ -380,10 +375,6 @@ sig_handler mysql_end(int sig)
exit(status.exit_status);
}
-enum options {OPT_CHARSETS_DIR=256, OPT_DEFAULT_CHARSET,
- OPT_PAGER, OPT_NOPAGER, OPT_TEE, OPT_NOTEE} ;
-
-
static struct option long_options[] =
{
{"i-am-a-dummy", optional_argument, 0, 'U'},