summaryrefslogtreecommitdiff
path: root/sql/item_row.h
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2002-12-31 18:39:16 +0200
committerunknown <bell@sanja.is.com.ua>2002-12-31 18:39:16 +0200
commitcd248a8d636395a467f26550b55e0a184e86f0db (patch)
tree686761238f1e54eb1f7c25c8869e028f9c356ffd /sql/item_row.h
parent53894481bfd2e7e1cf2a30706fd99ec67656dd5e (diff)
downloadmariadb-git-cd248a8d636395a467f26550b55e0a184e86f0db.tar.gz
postreviews fix (SCRUM related)
reordered Item_row class variables to be sorted by memory size mysql-test/r/subselect.result: fix result of subselect test sql/item.cc: postreviews fix sql/item.h: postreviews fix sql/item_cmpfunc.h: postreviews fix sql/item_row.cc: postreviews fix sql/item_row.h: reordered class variables to be sorted by memory size postreviews fix sql/item_strfunc.cc: postreviews fix sql/item_subselect.cc: postreviews fix
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();
};