• Sergey Vojtovich's avatar
    Applying InnoDB snapshot · 16925618
    Sergey Vojtovich authored
    Detailed revision comments:
    
    r6449 | marko | 2010-01-13 22:38:53 +0200 (Wed, 13 Jan 2010) | 18 lines
    branches/zip: lock_rec_validate_page(): Only validate the record
    queues when the thread is not holding a space->latch.
    
    When UNIV_DEBUG is defined while UNIV_SYNC_DEBUG is not,
    latching order violations will still occur and deadlocks will be possible.
    
    sync_thread_levels_nonempty_gen(): Renamed from
    sync_thread_levels_empty_gen().  Return the violating latch or NULL
    instead of FALSE or TRUE, except that there will be a ut_error before
    the non-NULL return.
    
    sync_thread_levels_empty_gen(): A macro that negates the return value of
    sync_thread_levels_nonempty_gen().
    
    sync_thread_levels_contains(): New function, based on
    sync_thread_levels_nonempty_gen().
    
    This should fix Issue #441.
    16925618
sync0sync.h 20.1 KB