• unknown's avatar
    Bug#28878: InnoDB tables with UTF8 character set and indexes cause · 970b26e6
    unknown authored
    wrong result for DML
    When making key reference buffers over CHAR fields whitespace (0x20) 
    must be used to fill in the remaining space in the field's buffer.
    This is what Field_string::store() does.
    Fixed Field_string::get_key_image() to do the same.
    
    
    mysql-test/r/innodb_mysql.result:
      Bug#28878: test case
    mysql-test/t/innodb_mysql.test:
      Bug#28878: test case
    sql/field.cc:
      Bug#28878: Fill with space instead of binary zeros.
    970b26e6
field.cc 250 KB