• Oleksandr Byelkin's avatar
    MDEV-33790 Incorrect DEFAULT expression evaluated in UPDATE · 62287320
    Oleksandr Byelkin authored
    The problem was that Item_default_value::associate_with_target_field
    assigned passed as argument field as an argument which changed argument
    in case of default() call with certain field (i.e. deault(field)).
    
    There is no way to get wrong field in constructor so we will not reassign
    parameter.
    62287320
function_defaults.result 111 KB