• Sergei Golubchik's avatar
    MDEV-5248 Serious incompatibility and data corruption of DATETIME and DATE... · c155890a
    Sergei Golubchik authored
    MDEV-5248 Serious incompatibility and data corruption of DATETIME and DATE types due to get_innobase_type_from_mysql_type refactor combined with InnoDB Online DDL
    
    restore old innodb get_innobase_type_from_mysql_type() function,
    record all mysql_type->innodb_type mapping
    (as generated by mysql-5.6).
    add safety code to disable online alter when internal types don't match
    
    storage/innobase/dict/dict0stats.cc:
      revert to 5.6 state
    c155890a
dict0stats.cc 116 KB