• evgen@moonbone.local's avatar
    Fix bug #12340 Wrong comparison in ha_innobase::cmp_ref() · 2a025ffb
    evgen@moonbone.local authored
    When PRIMARY KEY is present ha_innobase::cmp_ref() uses it to compare refs.
    After comparing part of key it moves pointers to compare next part.
    For varchar parts pointers were moved only by length of parts, not including
    bytes containig part length itself. This results in wrong comparision and
    wrong number of deleted records.
    2a025ffb
ha_innodb.cc 212 KB