• Timothy Smith's avatar
    Apply the rest of innodb-5.0-ss2475. This fixes Bug#36819, "ut_usectime does · ae75d953
    Timothy Smith authored
    not handle errors from gettimeofday".
    
    r2475 | vasil | 2008-05-22 19:35:30 +0300 (Thu, 22 May 2008) | 13 lines
    
    Fix 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.
    ae75d953
srv0srv.c 74.9 KB