mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-35911 Assertion `marked_for_write_or_computed()' failed in bool Field_new_decimal::store_value(const my_decimal*, int*)
disable the assert. also, use the same check for check_that_all_fields_are_given_values() as it's used in not_null_fields_have_null_values() - to avoid issuing the same warning twice.
This commit is contained in:
@ -950,8 +950,7 @@ bool mysql_insert(THD *thd, TABLE_LIST *table_list,
|
||||
|
||||
if (fields.elements || !value_count || table_list->view != 0)
|
||||
{
|
||||
if (table->triggers &&
|
||||
table->triggers->has_triggers(TRG_EVENT_INSERT, TRG_ACTION_BEFORE))
|
||||
if (table->field != table->field_to_fill())
|
||||
{
|
||||
/* BEFORE INSERT triggers exist, the check will be done later, per row */
|
||||
}
|
||||
|
Reference in New Issue
Block a user