summaryrefslogtreecommitdiff
path: root/include/my_getopt.h
diff options
context:
space:
mode:
authorrburnett@build.mysql.com <>2004-08-19 20:26:00 +0200
committerrburnett@build.mysql.com <>2004-08-19 20:26:00 +0200
commita7c4e100edd7fe6947e1150a505e3f3a6b93763e (patch)
tree653fd1f77bc5343170214acd7b93fbf677b540c5 /include/my_getopt.h
parenteb04e6da07631f880bd116e82da24a55412f8d3c (diff)
downloadmariadb-git-a7c4e100edd7fe6947e1150a505e3f3a6b93763e.tar.gz
Bug #4466 Nothing in .err when mysql service ends because of malformed my.ini options
my_getopt.c: Moved the inclusion of my_getopt.h down below the inclusion of my_sys.h so that enum loglevel definition would be available my_sys.h, my_getopt.h: moved definition of enum loglevel from my_getopt.h to my_sys.h
Diffstat (limited to 'include/my_getopt.h')
-rw-r--r--include/my_getopt.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/my_getopt.h b/include/my_getopt.h
index f3db2a70a92..f5b847f7dda 100644
--- a/include/my_getopt.h
+++ b/include/my_getopt.h
@@ -53,12 +53,6 @@ struct my_option
extern char *disabled_my_option;
extern my_bool my_getopt_print_errors;
-enum loglevel {
- ERROR_LEVEL,
- WARNING_LEVEL,
- INFORMATION_LEVEL
-};
-
typedef my_bool (* my_get_one_option) (int, const struct my_option *, char * );
typedef void (* my_error_reporter) (enum loglevel level, const char *format, ... );