1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Merge the fix for LP BUG#613029.

This commit is contained in:
unknown
2011-03-30 00:48:35 +03:00
4 changed files with 118 additions and 2 deletions

View File

@ -964,8 +964,8 @@ public:
bool init_save_join_tab();
bool send_row_on_empty_set()
{
return (do_send_rows && tmp_table_param.sum_func_count != 0 &&
!group_list && having_value != Item::COND_FALSE);
return (do_send_rows && implicit_grouping &&
having_value != Item::COND_FALSE);
}
bool change_result(select_result *result);
bool is_top_level_join() const