mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-9629 Disappearing PRI from Key column after creating a trigger
when creating shadow nullable fields, preserve all original field flags (because we swap flags back and forth in not_null_fields_have_null_values())
This commit is contained in:
@ -1101,6 +1101,7 @@ bool Table_triggers_list::prepare_record_accessors(TABLE *table)
|
||||
table == (*fld)->table)))
|
||||
return 1;
|
||||
|
||||
f->flags= (*fld)->flags;
|
||||
f->null_ptr= null_ptr;
|
||||
f->null_bit= null_bit;
|
||||
if (null_bit == 128)
|
||||
|
Reference in New Issue
Block a user