• Sergei Golubchik's avatar
    MDEV-13868 cannot insert 1288481126 in a timestamp column in Europe/Moscow · bc4409ab
    Sergei Golubchik authored
    make insert NULL into a timestamp mark the field as having an
    explicit value. So that the field won't be assigned the value
    again in TABLE::update_default_field()
    
    make Item_func_now_local::save_in_field(timestamp_field) not to go
    through MYSQL_TIME - this conversion is lossy around DST change times.
    This fixes inserting a default value into a timestamp field.
    bc4409ab
field.cc 311 KB