summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorigor@rurik.mysql.com <>2005-10-15 14:32:37 -0700
committerigor@rurik.mysql.com <>2005-10-15 14:32:37 -0700
commitc136e9c43b0175e63c4ccfbf97fe6e1b2d94ad23 (patch)
tree5f5c67db9ee4935287f4852c5bc05fcc067ce082 /sql/sql_class.h
parenta5c5b2c65841827444ffe8878b900e6d2b3f5781 (diff)
downloadmariadb-git-c136e9c43b0175e63c4ccfbf97fe6e1b2d94ad23.tar.gz
Fixed bug #12762:
allowed set functions aggregated in outer subqueries, allowed nested set functions.
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 02afbcfe304..a144baf31b9 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -779,19 +779,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