summaryrefslogtreecommitdiff
path: root/sql/item_row.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2018-06-05 11:56:19 +0400
committerAlexander Barkov <bar@mariadb.com>2018-06-05 11:56:19 +0400
commitf4dfc609cf89001e948566336f8f2b93ee147723 (patch)
tree62a44a1dd397b8ae4b405e2c75c00593ea8a62d2 /sql/item_row.h
parentab297744b7318645159cd5f9ec26378473cecf52 (diff)
downloadmariadb-git-f4dfc609cf89001e948566336f8f2b93ee147723.tar.gz
MDEV-16388 Replace member Item::fixed to virtual method is_fixed()
Diffstat (limited to 'sql/item_row.h')
-rw-r--r--sql/item_row.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/sql/item_row.h b/sql/item_row.h
index 73b198625ce..c0d64aba230 100644
--- a/sql/item_row.h
+++ b/sql/item_row.h
@@ -33,7 +33,7 @@
Item which stores (x,y,...) and ROW(x,y,...).
Note that this can be recursive: ((x,y),(z,t)) is a ROW of ROWs.
*/
-class Item_row: public Item,
+class Item_row: public Item_fixed_hybrid,
private Item_args,
private Used_tables_and_const_cache,
private With_subquery_cache
@@ -45,11 +45,13 @@ class Item_row: public Item,
*/
bool with_null;
public:
- Item_row(THD *thd, List<Item> &list):
- Item(thd), Item_args(thd, list), not_null_tables_cache(0), with_null(0)
+ Item_row(THD *thd, List<Item> &list)
+ :Item_fixed_hybrid(thd), Item_args(thd, list),
+ not_null_tables_cache(0), with_null(0)
{ }
- Item_row(THD *thd, Item_row *row):
- Item(thd), Item_args(thd, static_cast<Item_args*>(row)), Used_tables_and_const_cache(),
+ Item_row(THD *thd, Item_row *row)
+ :Item_fixed_hybrid(thd), Item_args(thd, static_cast<Item_args*>(row)),
+ Used_tables_and_const_cache(),
not_null_tables_cache(0), with_null(0)
{ }