diff options
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r-- | sql/sql_select.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h index 07b94b0afed..8c58401a7f6 100644 --- a/sql/sql_select.h +++ b/sql/sql_select.h @@ -299,6 +299,11 @@ class JOIN :public Sql_alloc void join_free(bool full); void clear(); bool save_join_tab(); + bool send_row_on_empty_set() + { + return (do_send_rows && tmp_table_param.sum_func_count != 0 && + !group_list); + } }; |