• unknown's avatar
    Fix for bug#23379 "wrong time value in SHOW PROCESSLIST" · ca817b49
    unknown authored
      
    The value taken to be shown in SHOW PROCESSLIST is not
    initialized when THD is created and will be random for
    unauthenticated connections.
      
    To the documentor: Random value, instead of NULL, was shown,
    in SHOW PROCESSLIST for still non-authenticated connections.
    
    
    sql/sql_class.cc:
      Initialize time_after_lock.
      It is used from SHOW PROCESSLIST's code. If not initialized
      random value is shown for connected but still unauthenticated
      clients in the column Time.
    ca817b49
sql_class.cc 46 KB