• Sergei Golubchik's avatar
    MDEV-11628 mysql.slow_log reports incorrect start time · dcb814c4
    Sergei Golubchik authored
    use thd->start_time for the "start_time" column of the slow_log table.
    "current_time" here refers to the current_time() function return value
    not to the actual *current* time.
    
    also fixes
    MDEV-33267 User with minimal permissions can intentionally corrupt mysql.slow_log table
    dcb814c4
log_tables.result 47.1 KB