summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2005-09-08 18:51:36 +0400
committerkonstantin@mysql.com <>2005-09-08 18:51:36 +0400
commit8d0dd7a45a9b109d80031b14b328d79131e9b866 (patch)
tree972873b71500f8f235da9138a207922ffbbd2edb /sql/sql_select.h
parentffea32c6f30e6f0e2fe5b3fb35ddb978909f160f (diff)
downloadmariadb-git-8d0dd7a45a9b109d80031b14b328d79131e9b866.tar.gz
Remove an obsolete comment and an unused variable.
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r--sql/sql_select.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h
index 78fa88801be..47906c2697e 100644
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -230,7 +230,7 @@ class JOIN :public Sql_alloc
/* Is set if we have a GROUP BY and we have ORDER BY on a constant. */
bool skip_sort_order;
- bool need_tmp, hidden_group_fields, buffer_result;
+ bool need_tmp, hidden_group_fields;
DYNAMIC_ARRAY keyuse;
Item::cond_result cond_value;
List<Item> all_fields; // to store all fields that used in query
@@ -299,8 +299,6 @@ class JOIN :public Sql_alloc
skip_sort_order= 0;
need_tmp= 0;
hidden_group_fields= 0; /*safety*/
- buffer_result= test(select_options & OPTION_BUFFER_RESULT) &&
- !test(select_options & OPTION_FOUND_ROWS);
error= 0;
select= 0;
return_tab= 0;