~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/row.h

  • Committer: Brian Aker
  • Date: 2010-12-08 22:35:56 UTC
  • mfrom: (1819.9.158 update-innobase)
  • Revision ID: brian@tangent.org-20101208223556-37mi4omqg7lkjzf3
Merge in Stewart's changes, 1.3 changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#ifndef DRIZZLED_ITEM_ROW_H
21
21
#define DRIZZLED_ITEM_ROW_H
22
22
 
 
23
#include "drizzled/item.h"
 
24
 
 
25
namespace drizzled
 
26
{
 
27
 
23
28
class Item_row: public Item
24
29
{
25
30
  Item **items;
28
33
  bool const_item_cache;
29
34
  bool with_null;
30
35
public:
 
36
 
 
37
  using Item::split_sum_func;
 
38
 
31
39
  Item_row(List<Item> &);
32
40
  Item_row(Item_row *item):
33
41
    Item(),
41
49
  enum Type type() const { return ROW_ITEM; };
42
50
  void illegal_method_call(const char *);
43
51
  bool is_null() { return null_value; }
44
 
  void make_field(Send_field *)
 
52
  void make_field(SendField *)
45
53
  {
46
54
    illegal_method_call((const char*)"make_field");
47
55
  };
66
74
    return 0;
67
75
  };
68
76
  bool fix_fields(Session *session, Item **ref);
69
 
  void fix_after_pullout(st_select_lex *new_parent, Item **ref);
 
77
  void fix_after_pullout(Select_Lex *new_parent, Item **ref);
70
78
  void cleanup();
71
79
  void split_sum_func(Session *session, Item **ref_pointer_array, List<Item> &fields);
72
80
  table_map used_tables() const { return used_tables_cache; };
84
92
  bool check_cols(uint32_t c);
85
93
  bool null_inside() { return with_null; };
86
94
  void bring_value();
87
 
  bool check_vcol_func_processor(unsigned char *int_arg __attribute__((unused)))
88
 
  { return false; }
89
95
};
90
96
 
 
97
} /* namespace drizzled */
 
98
 
91
99
#endif /* DRIZZLED_ITEM_ROW_H */