mariadb/mysql-test/suite/parts
Alexander Barkov 1ed02deea0 Bug#52121 partition by key on utf32 enum field cause debug assertion: (length % 4) == 0
Problem: ENUM columns are sorted and distributed according to their
numeric value, but Field::hash() incorrectly passed string character set
(utf32) in combination with numeric value to the hash function,
which made assertion fail.

Fix: pass "binary" character set in combination with numeric value
to the hash function.

  mysql-test/suite/parts/r/part_ctype_utf32.result
  Adding tests

  mysql-test/suite/parts/t/part_ctype_utf32.test
  Adding test

  sql/field.cc
  Pass correct character set pointer to the hash function.
2010-08-23 13:56:21 +04:00
..
inc Bug#49907: ALTER TABLE ... TRUNCATE PARTITION does not wait for 2010-08-16 14:53:30 +02:00
r Bug#52121 partition by key on utf32 enum field cause debug assertion: (length % 4) == 0 2010-08-23 13:56:21 +04:00
t Bug#52121 partition by key on utf32 enum field cause debug assertion: (length % 4) == 0 2010-08-23 13:56:21 +04:00