Fixed rare core dump bug when using complicated GROUP BY query that didn't return any results.

This only showed up under heavy load.
This commit is contained in:
monty@hundin.mysql.fi 2002-11-08 09:58:28 +02:00
parent 5715252238
commit 81503e476a

View File

@ -4970,6 +4970,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));
}