• Marko Mäkelä's avatar
    Bug#59230 assert 0 row_upd_changes_ord_field_binary() in post-crash · e952ee11
    Marko Mäkelä authored
    trx rollback or purge
    
    This patch does not relax the failing debug assertion during purge.
    That will be revisited once we have managed to repeat the assertion failure.
    
    row_upd_changes_ord_field_binary_func(): Renamed from
    row_upd_changes_ord_field_binary(). Add the parameter que_thr_t* in
    UNIV_DEBUG builds. When the off-page column cannot be retrieved,
    assert that the current transaction is a recovered one and that it is
    the one that is currently being rolled back.
    
    row_upd_changes_ord_field_binary(): A wrapper macro for
    row_upd_changes_ord_field_binary_func() that discards the que_thr_t*
    parameter unless UNIV_DEBUG is defined.
    
    row_purge_upd_exist_or_extern_func(): Renamed from
    row_purge_upd_exist_or_extern(). Add the parameter que_thr_t* in
    UNIV_DEBUG builds.
    
    row_purge_upd_exist_or_extern(): A wrapper macro for
    row_purge_upd_exist_or_extern_func() that discards the que_thr_t*
    parameter unless UNIV_DEBUG is defined.
    
    Make trx_roll_crash_recv_trx const. If there were a 'do not
    dereference' attribute, it would be appropriate as well.
    
    rb://588 approved by Jimmy Yang
    e952ee11
row0upd.c 62.3 KB