1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

A fix for the very nusty bug with when there are 2 or more fields

in GROUP BY , which fields can be NULL ....
This commit is contained in:
unknown
2002-05-22 15:11:35 +03:00
parent 62b9426d0c
commit 72ea538b0b

View File

@@ -3824,6 +3824,7 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
key_part_info->null_offset= (uint) (field->null_ptr -
(uchar*) table->record[0]);
group->field->move_field((char*) ++group->buff);
++group_buff;
}
else
group->field->move_field((char*) group_buff);