diff options
author | unknown <rburnett@build.mysql.com> | 2004-08-19 17:56:32 +0200 |
---|---|---|
committer | unknown <rburnett@build.mysql.com> | 2004-08-19 17:56:32 +0200 |
commit | 87bce8540c7c38cb88ce8743b8efcb0a51f53bfe (patch) | |
tree | dc86eb2a0ba9c9a67da1e9197b8bf2d4ca70403a /include/my_getopt.h | |
parent | 4736e7d4bdcde029923518826db33da6a38a6c01 (diff) | |
download | mariadb-git-87bce8540c7c38cb88ce8743b8efcb0a51f53bfe.tar.gz |
Bug #4466 Nothing in .err when mysql service ends because of malformed my.ini options
mysqld.cc:
Changed LOGLEVEL enum to loglevel
mysql_priv.h, log.cc:
Changed LOGLEVEL to loglevel. Removed startup_ from some of the DBUG_ENTER macros. Removed the print_msg_to_log function as it was unused.
my_getopt.c, my_getopt.h:
Renamed LOGLEVEL to loglevel to match coding standards
include/my_getopt.h:
Renamed LOGLEVEL to loglevel to match coding standards
mysys/my_getopt.c:
Renamed LOGLEVEL to loglevel to match coding standards
sql/log.cc:
Changed LOGLEVEL to loglevel. Removed startup_ from some of the DBUG_ENTER macros. Removed the print_msg_to_log function as it was unused.
sql/mysql_priv.h:
Changed LOGLEVEL to loglevel. Removed startup_ from some of the DBUG_ENTER macros. Removed the print_msg_to_log function as it was unused.
sql/mysqld.cc:
Changed LOGLEVEL enum to loglevel
Diffstat (limited to 'include/my_getopt.h')
-rw-r--r-- | include/my_getopt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/my_getopt.h b/include/my_getopt.h index 9e26b12cb9e..f3db2a70a92 100644 --- a/include/my_getopt.h +++ b/include/my_getopt.h @@ -53,14 +53,14 @@ struct my_option extern char *disabled_my_option; extern my_bool my_getopt_print_errors; -enum LOGLEVEL { +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, ... ); +typedef void (* my_error_reporter) (enum loglevel level, const char *format, ... ); extern int handle_options (int *argc, char ***argv, const struct my_option *longopts, my_get_one_option, |