• cmiller@zippy.cornsilk.net's avatar
    Patch contributed by Jocelyn Fournier. CLA received 2007-02-27. · 71316696
    cmiller@zippy.cornsilk.net authored
    Bug#25347: mysqlcheck -A -r doesn't repair table marked as crashed
    
    mysqlcheck tests nullness of the engine type to know whether the
    "table" is a view or not.  That also falsely catches tables that 
    are severly damaged.
    
    Instead, use SHOW FULL TABLES to test whether a "table" is a view
    or not.
    
    (Don't add new function.  Instead, get original data a smarter way.)
    
    Make it safe for use against databases before when views appeared.
    71316696
mysqlcheck.c 23.7 KB