• Vasil Dimov's avatar
    Fix Bug#16400412 UNNECESSARY DICT_UPDATE_STATISTICS DURING CONCURRENT · 57059380
    Vasil Dimov authored
    UPDATES
    
    After checking that the table has changed too much in
    row_update_statistics_if_needed() and calling dict_update_statistics(),
    also check if the same condition holds after acquiring the table stats
    latch. This is to avoid multiple threads concurrently entering and
    executing the stats update code.
    
    Approved by:	Marko (rb:2186)
    57059380
dict0mem.h 25.8 KB