• Marko Mäkelä's avatar
    Remove unnecessary trx_rsegf_get_new() calls · 1caec9c8
    Marko Mäkelä authored
    trx_rseg_header_create(): Return the block descriptor, and
    remove the redundant trx_rsegf_get_new() call. Apparently
    the idea of that call was some kind of encapsulation or
    abstraction, to discourage the direct use of the constant TRX_RSEG.
    
    This also removes the trx_purge_initiate_truncate() local
    variable rseg_header, which was only used in debug builds.
    1caec9c8
trx0purge.cc 49.2 KB