summaryrefslogtreecommitdiff
path: root/include/my_getopt.h
diff options
context:
space:
mode:
authorjani@rhols221.adsl.netsonic.fi <>2004-01-14 04:58:37 +0200
committerjani@rhols221.adsl.netsonic.fi <>2004-01-14 04:58:37 +0200
commit2efb41512123b8c6f307bb12876ba473c087bf6a (patch)
tree073ae6869c6c4398cc8f0ca203208a182a0dd736 /include/my_getopt.h
parentca27da12fe7d09957975fde00be319f45ada60af (diff)
downloadmariadb-git-2efb41512123b8c6f307bb12876ba473c087bf6a.tar.gz
- Added missing documentation to some mysql.cc options.
- Fixed Bug#2346 - Fixed Bug#2378 - Fixed bug in pager (no Bug#ID (?)) - Added support for new special situations option type, GET_DISABLED. See handling of --debug in mysql.cc. compiled wihtout debugging, as an example.
Diffstat (limited to 'include/my_getopt.h')
-rw-r--r--include/my_getopt.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/my_getopt.h b/include/my_getopt.h
index 148238f8d1b..5f4025efa0e 100644
--- a/include/my_getopt.h
+++ b/include/my_getopt.h
@@ -17,11 +17,12 @@
C_MODE_START
enum get_opt_var_type { GET_NO_ARG, GET_BOOL, GET_INT, GET_UINT, GET_LONG,
- GET_ULONG, GET_LL, GET_ULL, GET_STR, GET_STR_ALLOC
+ GET_ULONG, GET_LL, GET_ULL, GET_STR, GET_STR_ALLOC,
+ GET_DISABLED
};
-#define GET_ASK_ADDR 128
-#define GET_TYPE_MASK 127
+#define GET_ASK_ADDR 128
+#define GET_TYPE_MASK 127
enum get_opt_arg_type { NO_ARG, OPT_ARG, REQUIRED_ARG };