diff options
author | bell@sanja.is.com.ua <> | 2002-12-31 18:39:16 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2002-12-31 18:39:16 +0200 |
commit | c7a02249f5eee028b4183b23eda05862a95eec61 (patch) | |
tree | 686761238f1e54eb1f7c25c8869e028f9c356ffd /sql/item_row.h | |
parent | 7c0a07461407f62cceeebf5aa8ed2133361ec229 (diff) | |
download | mariadb-git-c7a02249f5eee028b4183b23eda05862a95eec61.tar.gz |
postreviews fix (SCRUM related)
reordered Item_row class variables to be sorted by memory size
Diffstat (limited to 'sql/item_row.h')
-rw-r--r-- | sql/item_row.h | 17 |
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(); }; |