~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/row.h

  • Committer: Mark Atwood
  • Date: 2011-07-13 22:28:29 UTC
  • mfrom: (2318.7.25 refactor1)
  • Revision ID: me@mark.atwood.name-20110713222829-sswp061b5ts7tc1k
mergeĀ lp:~olafvdspek/drizzle/refactor1

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
#include <drizzled/item.h>
23
23
 
24
 
namespace drizzled
25
 
{
 
24
namespace drizzled {
26
25
 
27
 
class Item_row: public Item
 
26
class Item_row : public Item
28
27
{
29
28
  Item **items;
30
29
  table_map used_tables_cache;
46
45
  {}
47
46
 
48
47
  enum Type type() const { return ROW_ITEM; };
49
 
  void illegal_method_call(const char *);
 
48
  void illegal_method_call(const char*);
50
49
  bool is_null() { return null_value; }
51
50
  void make_field(SendField *)
52
51
  {
53
 
    illegal_method_call((const char*)"make_field");
 
52
    illegal_method_call("make_field");
54
53
  };
55
54
  double val_real()
56
55
  {
57
 
    illegal_method_call((const char*)"val");
 
56
    illegal_method_call("val");
58
57
    return 0;
59
58
  };
60
59
  int64_t val_int()
61
60
  {
62
 
    illegal_method_call((const char*)"val_int");
 
61
    illegal_method_call("val_int");
63
62
    return 0;
64
63
  };
65
64
  String *val_str(String *)
66
65
  {
67
 
    illegal_method_call((const char*)"val_str");
 
66
    illegal_method_call("val_str");
68
67
    return 0;
69
68
  };
70
69
  type::Decimal *val_decimal(type::Decimal *)
71
70
  {
72
 
    illegal_method_call((const char*)"val_decimal");
 
71
    illegal_method_call("val_decimal");
73
72
    return 0;
74
73
  };
75
74
  bool fix_fields(Session *session, Item **ref);