• jani@hynda.(none)'s avatar
    Added useful exit error code for programs using my_getopt in case · c9614944
    jani@hynda.(none) authored
    of an error in option handling. This can sometimes be useful in
    scripts.
    
    Changed some exit code names and corresponding numbers.
    
    Fixed a bug in mysqld.cc, in replication related options.
    
    Added a global flag in my_getopt, which can be set by any program
    that is using my_getopt, which tells whether the client should
    print the error message itself, or whether my_getopt should do it.
    The default is that my_getopt will print the error messages.
    c9614944
my_getopt.c 20.5 KB