Fixed some bugs in my_getopt.c, added functionality for new GET_*
types, migrated mysqld.cc to use my_getopt. include/my_getopt.h: Added missing types; GET_INT, GET_UINT, GET_ULONG, GET_ULL mysys/my_getopt.c: - Fixed a bug in processing short options; variable value was set wrongly after processing it in get_one_option(), when it needed to be done before it. - Fixed a bug in setting variable values; if type was OPT_ARG, a call without argument destroyed the default value - Added functionality for new GET_* types. sql/mysqld.cc: Changed mysqld.cc to use my_getopt.
Showing
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment