diff options
author | Alexander Barkov <bar@mariadb.com> | 2018-06-05 11:56:19 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2018-06-05 11:56:19 +0400 |
commit | f4dfc609cf89001e948566336f8f2b93ee147723 (patch) | |
tree | 62a44a1dd397b8ae4b405e2c75c00593ea8a62d2 /sql/item_row.h | |
parent | ab297744b7318645159cd5f9ec26378473cecf52 (diff) | |
download | mariadb-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.h | 12 |
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) { } |