• Jan Lindström's avatar
    MDEV-7254: Assigned expression is evaluated twice when updating · 6164157b
    Jan Lindström authored
    column TIMESTAMP NOT NULL
          
    Analysis: Problem was that value->is_null() function is called
    even when user had explicitly set the value for timestamp
    field. Calling this function had the side effect that
    expression was evaluated twice.
          
    Fix: (by Sergei Golubchik) check instead value->null_value.
    6164157b
field.cc 291 KB