• Sachin Setiya's avatar
    MDEV-15754 Server crashes in fill_record_n_invoke_before_triggers upon ... · dde0ba5a
    Sachin Setiya authored
    insert into table with TIMESTAMP INVISIBLE
    
    Problem:- The segfault occurs because value is null but since timestamp field
    is VISIBLE it expects a value , and it tries to call value->save_in_field(..
    Timestamp field should not be visible this is the problem.
    
    Solution:- While we clone field for record0_field we don't honor the field
    _visibility , this patch changes that.
    dde0ba5a
sql_trigger.cc 78.3 KB