summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2005-09-08 18:51:36 +0400
committerunknown <konstantin@mysql.com>2005-09-08 18:51:36 +0400
commit824750a9edc0ec1c186d9afbdcdbbdcb7b0b7ac0 (patch)
tree972873b71500f8f235da9138a207922ffbbd2edb /sql/sql_select.h
parente61d56a985ad06d23548b367c6258b006ac2dfea (diff)
downloadmariadb-git-824750a9edc0ec1c186d9afbdcdbbdcb7b0b7ac0.tar.gz
Remove an obsolete comment and an unused variable.
sql/sp_head.cc: Remove an obsolete comment (recursion in SP is disabled) sql/sql_select.h: Remove 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;