• Gleb Shchepa's avatar
    Bug #42563: Message tells me to repair table though Storage · 5156c2d2
    Gleb Shchepa authored
                Engine doesn't allow me to.
    
    In case of incompatible changes between old and new table
    versions, the mysqlcheck program prints error messages like
    this:
      error: Table upgrade required. Please do
             "REPAIR TABLE `table_name`" to fix it!
    
    However, InnoDB doesn't support REPAIR TABLE query, so the
    message is confusing.
    
    
    Error message text has been changed to:
    
      Table upgrade required. Please do "REPAIR TABLE `table_name`"
      or dump/reload to fix it!"
    
    
    mysql-test/r/repair.result:
      Updated test case for bug #42563.
    mysql-test/r/varbinary.result:
      Updated test case for bug #42563.
    sql/share/errmsg.txt:
      Bug #42563: Message tells me to repair table though Storage
                  Engine doesn't allow me to.
      
      The ER_TABLE_NEEDS_UPGRADE error message has been changed to:
      
        Table upgrade required. Please do "REPAIR TABLE ``%-.32s`"
        or dump/reload to fix it!"
    5156c2d2
errmsg.txt 405 KB