• Rucha Deodhar's avatar
    MDEV-26238: Remove inconsistent behaviour of --default-* options · 5217211e
    Rucha Deodhar authored
    in my_print_defaults
    
    Analysis: --defaults* option is recognized anywhere in the commandline
    instead of only at the beginning because handle_options() recognizes
    options in any order.
    Fix: use get_defaults_options() which recognizes --defaults* options only at
    the beginning. After this is done, we only want to recognize other options
    given in any order which can be done using handle_options(). So only skip
    --defaults* options and pass rest of them to handle_options().
    Also, removed -e, -g and -c because only my_print_defaults supports them.
    5217211e
my_print_defaults.result 1.5 KB