• svoj@april.(none)'s avatar
    BUG#18233 - Memory tables INDEX USING HASH (a,b) returns 1 row on · ae67994f
    svoj@april.(none) authored
                SELECT WHERE a= AND b=
    
    Selecting data from memory table with varchar column and hash index over it
    returns only first row matched.
    
    Problem was that key length calculation for varchar columns didn't include
    number of bytes to store length.
    
    Fixed key length for varchar fields to include number of bytes to store length.
    ae67994f
hp_create.c 8.77 KB