• unknown's avatar
    Bug#29182 - MyISAMCHK reports wrong character set · 25efd66a
    unknown authored
    myisamchk did always show Character set: latin1_swedish_ci (8),
    regardless what DEFAULT CHARSET the table had.
    
    When the server created a MyISAM table, it did not copy the
    characterset number into the MyISAM create info structure.
    
    Added assignment of charset number to MI_CREATE_INFO.
    
    
    mysql-test/r/myisam.result:
      Bug#29182 - MyISAMCHK reports wrong character set
      Added test result.
    mysql-test/t/myisam.test:
      Bug#29182 - MyISAMCHK reports wrong character set
      Added test.
    storage/myisam/ha_myisam.cc:
      Bug#29182 - MyISAMCHK reports wrong character set
      Added assignment of charset number to MI_CREATE_INFO.
    25efd66a
myisam.test 56 KB