summaryrefslogtreecommitdiff
path: root/sql/item_row.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_row.h')
-rw-r--r--sql/item_row.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/sql/item_row.h b/sql/item_row.h
index 82580797ebc..ccaf68bed64 100644
--- a/sql/item_row.h
+++ b/sql/item_row.h
@@ -16,19 +16,22 @@
class Item_row: public Item
{
- bool array_holder;
+ Item **items;
table_map used_tables_cache;
- bool const_item_cache;
uint arg_count;
- Item **items;
+ bool array_holder;
+ bool const_item_cache;
+ bool with_null;
public:
Item_row(List<Item> &);
Item_row(Item_row *item):
- Item(), array_holder(0),
+ Item(),
+ items(item->items),
used_tables_cache(item->used_tables_cache),
- const_item_cache(item->const_item_cache),
arg_count(item->arg_count),
- items(item->items)
+ array_holder(0),
+ const_item_cache(item->const_item_cache),
+ with_null(0)
{}
~Item_row()
@@ -71,6 +74,6 @@ public:
Item* el(uint i) { return items[i]; }
Item** addr(uint i) { return items + i; }
bool check_cols(uint c);
- bool null_inside();
+ bool null_inside() { return with_null; };
void bring_value();
};