summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorpem@mysql.com <>2004-05-07 18:52:06 +0200
committerpem@mysql.com <>2004-05-07 18:52:06 +0200
commitbf45960eef96dba7e7a7ffc8c3bfe6627daee2a3 (patch)
tree2f7b236a8721d14f1b398964b898d922fd133131 /sql/sql_select.h
parente1182c5226ce1c5f5aff4c1e59798b9d3dccde2a (diff)
parentdf8e3eac456b14b420f724e658eee175d2ee5e57 (diff)
downloadmariadb-git-bf45960eef96dba7e7a7ffc8c3bfe6627daee2a3.tar.gz
Merge 4.1 -> 5.0
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r--sql/sql_select.h5
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);
+ }
};