summaryrefslogtreecommitdiff
path: root/include/my_sys.h
diff options
context:
space:
mode:
authorunknown <rburnett@build.mysql.com>2004-08-19 20:26:00 +0200
committerunknown <rburnett@build.mysql.com>2004-08-19 20:26:00 +0200
commitf2ef3d162eaf16bac68b7bc602be83cc7acf4f74 (patch)
tree653fd1f77bc5343170214acd7b93fbf677b540c5 /include/my_sys.h
parent87bce8540c7c38cb88ce8743b8efcb0a51f53bfe (diff)
downloadmariadb-git-f2ef3d162eaf16bac68b7bc602be83cc7acf4f74.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 include/my_getopt.h: moved definition of enum loglevel from my_getopt.h to my_sys.h include/my_sys.h: moved definition of enum loglevel from my_getopt.h to my_sys.h mysys/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
Diffstat (limited to 'include/my_sys.h')
-rw-r--r--include/my_sys.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index 4934df3c4e5..9e43889d0e0 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -261,6 +261,12 @@ typedef struct st_typelib { /* Different types saved here */
const char **type_names;
} TYPELIB;
+enum loglevel {
+ ERROR_LEVEL,
+ WARNING_LEVEL,
+ INFORMATION_LEVEL
+};
+
enum cache_type
{
READ_CACHE,WRITE_CACHE,