• Marko Mäkelä's avatar
    Cleanup: Remove mach_read_ulint() · 78d0d2cd
    Marko Mäkelä authored
    The function mach_read_ulint() is a wrapper for the lower-level
    functions mach_read_from_1(), mach_read_from_2(), mach_read_from_8().
    Invoke those functions directly, for better readability of the code.
    
    mtr_t::read_ulint(), mtr_read_ulint(): Remove. Yes, we will lose the
    ability to assert that the read is covered by the mini-transaction.
    We would still check that on writes, and any writes that
    wrongly bypass mini-transaction logging would likely be caught by
    stress testing with Mariabackup.
    78d0d2cd
mtr0mtr.ic 6.3 KB