• Nirbhay Choubey's avatar
    MDEV-4647: Crash on setting wsep system variables to default · 7b69cab8
    Nirbhay Choubey authored
    The variables' ON_CHECK functions relied on set_var's "value"
    member, which is NULL for SET ... =default. Fixed by using
    save_result instead.
    
    Also, for many wsrep variables, pointers to their respective
    global variables were used to provide default values. The patch
    fixes this by using appropriate macros and string literals.
    7b69cab8
sys_vars.cc 162 KB