Commit 34d29fca authored by unknown's avatar unknown

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)
parents 2d3a2cfa de6eea8b
...@@ -5415,6 +5415,8 @@ end_write_group(JOIN *join, JOIN_TAB *join_tab __attribute__((unused)), ...@@ -5415,6 +5415,8 @@ end_write_group(JOIN *join, JOIN_TAB *join_tab __attribute__((unused)),
} }
else else
{ {
if (end_of_records)
DBUG_RETURN(0);
join->first_record=1; join->first_record=1;
VOID(test_if_group_changed(join->group_fields)); VOID(test_if_group_changed(join->group_fields));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment