• Monty's avatar
    Honor lock_wait_timeout when updating stats tables · f386b70b
    Monty authored
    - Call delete_statistics_tables() after lock_table_names in drop tables.
      This avoids a deadlock issue with FTWRL and future backup locks.
    - Added some missing clear_error()
    - Ensure we don't clear error caused by the caller
    - Updated function comments
    f386b70b
sql_statistics.cc 121 KB