summaryrefslogtreecommitdiff
path: root/sql/item_row.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-11-28 06:25:14 +0400
committerAlexander Barkov <bar@mariadb.org>2017-11-28 06:25:14 +0400
commit590400f743d029f13ddd19e07ccac0153c2a7c1f (patch)
tree0ad880e15fd676432513a8c782d35ba0cc77d9ef /sql/item_row.h
parent6aedbf40e08395533d4f5fc29220b6f358988979 (diff)
downloadmariadb-git-590400f743d029f13ddd19e07ccac0153c2a7c1f.tar.gz
MDEV-14517 Cleanup for Item::with_subselect and Item::has_subquery()
Diffstat (limited to 'sql/item_row.h')
-rw-r--r--sql/item_row.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/item_row.h b/sql/item_row.h
index a6fdd2b212c..206a8ed83c5 100644
--- a/sql/item_row.h
+++ b/sql/item_row.h
@@ -35,7 +35,8 @@
*/
class Item_row: public Item,
private Item_args,
- private Used_tables_and_const_cache
+ private Used_tables_and_const_cache,
+ private With_subquery_cache
{
table_map not_null_tables_cache;
/**
@@ -52,6 +53,7 @@ public:
not_null_tables_cache(0), with_null(0)
{ }
+ bool with_subquery() const { DBUG_ASSERT(fixed); return m_with_subquery; }
enum Type type() const { return ROW_ITEM; };
const Type_handler *type_handler() const { return &type_handler_row; }
void illegal_method_call(const char *);