• Timothy Smith's avatar
    Applying InnoDB snashot 5.1-ss4350, part 1. Fixes · 556135a1
    Timothy Smith authored
    Bug #42279  	Race condition in btr_search_drop_page_hash_when_freed()
    
    Detailed revision comments:
    
    r4032 | marko | 2009-01-23 15:43:51 +0200 (Fri, 23 Jan 2009) | 10 lines
    branches/5.1: Merge r4031 from branches/5.0:
    
    btr_search_drop_page_hash_when_freed(): Check if buf_page_get_gen()
    returns NULL.  The page may have been evicted from the buffer pool
    between buf_page_peek_if_search_hashed() and buf_page_get_gen(),
    because the buffer pool mutex will be released between these two calls.
    (Bug #42279)
    
    rb://82 approved by Heikki Tuuri
    556135a1
btr0sea.c 43.7 KB