Merge from 3.23 to get fix for GROUP BY bug

sql/sql_select.cc:
  Auto merged
innobase/row/row0mysql.c:
  merge (user 4.1 version)
This commit is contained in:
unknown 2002-11-08 15:12:51 +02:00
commit 34d29fca2d

View file

@ -5415,6 +5415,8 @@ end_write_group(JOIN *join, JOIN_TAB *join_tab __attribute__((unused)),
}
else
{
if (end_of_records)
DBUG_RETURN(0);
join->first_record=1;
VOID(test_if_group_changed(join->group_fields));
}