• Ramil Kalimullin's avatar
    Fix for bug#37527: mysqlcheck fails to report entire database · e0d5a6c1
    Ramil Kalimullin authored
    when InnoDB frm file corruption
    
    Problem: mysqlcheck runs 'SHOW FULL TABLE' queries to get table lists.
    The query may fail for some reasons (e.g. null .frm file) then
    mysqlcheck doesn't process the database tables.
    
    Fix: try to run 'SHOW TABLES' if 'SHOW FULL TABLES' failed.
    e0d5a6c1
mysqlcheck.test 2.63 KB