diff options
author | unknown <bell@sanja.is.com.ua> | 2004-05-04 16:37:04 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-05-04 16:37:04 +0300 |
commit | aaff8391f5e35c4d75ff092b3cb699066c5a8a57 (patch) | |
tree | 38e4ab41fe19b25659ddcdc8992863d1001e9251 /sql/sql_select.h | |
parent | 23029a0f56906cc01270dee5bd6937b74944deb1 (diff) | |
download | mariadb-git-aaff8391f5e35c4d75ff092b3cb699066c5a8a57.tar.gz |
repetable test replaced with inline function
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 fea3f7c6b80..5a246a477cf 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); + } }; |