• bar@mysql.com's avatar
    Bug#20086: Can't get data from key partitioned tables with VARCHAR key · bfae7303
    bar@mysql.com authored
    The problem appeared because the same values produced different hash
    during INSERT and SELECT for VARCHAR data type.
    Fix:
    VARCHAR required special treatment to avoid hashing of length bytes
    (leftmost one or two bytes) as well as trailing bytes beyond real length,
    which could contain garbage. Fix is done by introducing hash() - new method
    in the Field class.
    bfae7303
partition_innodb.result 3.58 KB