• cmiller@zippy.cornsilk.net's avatar
    Backport: · 2e698f8c
    cmiller@zippy.cornsilk.net authored
    Patch contributed by Jocelyn Fournier.  CLA received 2007-02-27.
      
    B-g#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.
    2e698f8c
mysqlcheck.c 22.9 KB