• Sergey Glukhov's avatar
    Bug#50591 bit(31) causes Duplicate entry '1-NULL' for key 'group_key' · d2bdeb8c
    Sergey Glukhov authored
    The problem is that during temporary table creation uneven bits
    are not taken into account for hidden fields. It leads to incorrect
    calculation&allocation of null bytes size for table record. And
    if grouped value is null we set wrong bit for this value(see end_update()).
    Fixed by adding separate calculation of uneven bit for hidden fields.
    d2bdeb8c
sql_select.cc 542 KB