1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +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:
Sinisa@sinisa.nasamreza.org
2002-05-22 15:11:35 +03:00
parent d8d2062959
commit 2181d5972e

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);