• Timothy Smith's avatar
    Complete application of InnoDB snapshot innodb-5.1-ss2485, part 1. Fixes · 395eae0f
    Timothy Smith authored
    Bug #36819: ut_usectime does not handle errors from gettimeofday
    
    
    Detailed revision comments:
    
    r2480 | vasil | 2008-05-27 11:40:07 +0300 (Tue, 27 May 2008) | 11 lines
    branches/5.1:
    
    Fix Bug#36819 ut_usectime does not handle errors from gettimeofday
    
    by retrying gettimeofday() several times if it fails in ut_usectime().
    If it fails on all calls then return error to the caller to be handled
    at higher level.
    
    Update the variable innodb_row_lock_time_max in SHOW STATUS output only
    if ut_usectime() was successful.
    395eae0f
ut0ut.c 12 KB