• unknown's avatar
    Bug #32790 crash in trigger.test with InnoDB for a table · 77b84b12
    unknown authored
    the reason for the failure were incorrect asserts.
    
    Removing asserts altogether as there is no the implication does not hold
    (as explained in the comments for the file).
    
    
    sql/sql_delete.cc:
      removing two asserts because they can not hold basing on the definition
      of `normal_tables'. The one does not specify in a non-transactional table,
      which must be in the list of tables to be deleted, is modified indeed.
      So, it's possible to have normal_tables == true and deleted == true both
      but that would be yet a transactional table got modified (and then
      thd->transaction.stmt.modified_non_trans_table remains false default).
    77b84b12
sql_delete.cc 28.2 KB