• unknown's avatar
    Fix that we can read tables with the 'older' decimal format used in 5.0.3 & 5.0.4 · 1834f889
    unknown authored
    We will however give a warning when opening such a table that users should use ALTER TABLE ... FORCE to fix
    the table. In future release we will fix that REPAIR TABLE will be able to handle this case
    
    
    sql/sql_lex.h:
      Support for ALTER TABLE ... FORCE
    sql/sql_table.cc:
      CHECK TABLE now gives a note if table->s->crashed was set
    sql/sql_yacc.yy:
      Support for ALTER TABLE ... FORCE
    sql/table.cc:
      
      Fix that we can read tables with the 'older' decimal format used in 5.0.3 & 5.0.4
      (Now we store display length in the .frm table while we previously stored precision)
    sql/table.h:
      Store in TABLE_SHARE version number of MySQL where table was created (or checked)
    1834f889
table.h 19.2 KB