• vasil's avatar
    branches/5.1: · ef5a2777
    vasil authored
    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.
    ef5a2777
ut0ut.c 12 KB