summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2005-10-17 13:35:51 -0700
committerunknown <igor@rurik.mysql.com>2005-10-17 13:35:51 -0700
commit3e0d1a4882aca1bb7cbd3aced3fb718d5a521110 (patch)
tree699479e75cace8563f10bd5674f4e0b0d569104c /sql/sql_class.h
parentdddc50f255cbb9112f312a907d03754065b5c208 (diff)
parent4038188cf216389bc7777f3646257362c7dca083 (diff)
downloadmariadb-git-3e0d1a4882aca1bb7cbd3aced3fb718d5a521110.tar.gz
Merge rurik.mysql.com:/home/igor/mysql-5.0
into rurik.mysql.com:/home/igor/dev/mysql-5.0-2 sql/sql_class.h: Auto merged
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 2679143e9a5..253fe25f54d 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -785,19 +785,6 @@ public:
field list can not contain duplicates.
*/
bool set_query_id;
- /*
- This variable is used in post-parse stage to declare that sum-functions,
- or functions which have sense only if GROUP BY is present, are allowed.
- For example in queries
- SELECT MIN(i) FROM foo
- SELECT GROUP_CONCAT(a, b, MIN(i)) FROM ... GROUP BY ...
- MIN(i) have no sense.
- Though it's grammar-related issue, it's hard to catch it out during the
- parse stage because GROUP BY clause goes in the end of query. This
- variable is mainly used in setup_fields/fix_fields.
- See item_sum.cc for details.
- */
- bool allow_sum_func;
LEX_STRING name; /* name for named prepared statements */
LEX *lex; // parse tree descriptor