summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/item.h b/sql/item.h
index adbf7103de1..748a5258b1b 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -544,7 +544,11 @@ public:
of a query with ROLLUP */
bool null_value; /* if item is null */
bool unsigned_flag;
- bool with_sum_func;
+ bool with_sum_func; /* True if item contains a sum func */
+ /**
+ True if any item except Item_sum_func contains a field. Set during parsing.
+ */
+ bool with_field;
bool fixed; /* If item fixed with fix_fields */
bool is_autogenerated_name; /* indicate was name of this Item
autogenerated or set by user */