• mattiasj@witty.local's avatar
    Bug#33379: valgrind error in parts/partition_bit_myisam · 5d4e9d04
    mattiasj@witty.local authored
    Problem was that Field_bit used Field::hash() function that did not
    know about using null-byte for storing bits.
    Resulting in wrong length, which was caught by valgrind.
    
    Solution: created a Field_bit::hash() that uses Field_bit::val_int()
    and my_charset_bin-collation function hash_sort.
    Also use the store function for platform independs
    5d4e9d04
field.h 76.8 KB