~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/row.h

  • Committer: Stewart Smith
  • Date: 2009-03-11 06:37:19 UTC
  • mto: (910.4.19 sparc) (937.2.1 sparc)
  • mto: This revision was merged to the branch mainline in revision 931.
  • Revision ID: stewart@flamingspork.com-20090311063719-v9iqjd00ts6260vv
batch up more INSERTs into transactions to help tests run quicker.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
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
 
 
28
23
class Item_row: public Item
29
24
{
30
25
  Item **items;
49
44
  enum Type type() const { return ROW_ITEM; };
50
45
  void illegal_method_call(const char *);
51
46
  bool is_null() { return null_value; }
52
 
  void make_field(SendField *)
 
47
  void make_field(Send_field *)
53
48
  {
54
49
    illegal_method_call((const char*)"make_field");
55
50
  };
68
63
    illegal_method_call((const char*)"val_str");
69
64
    return 0;
70
65
  };
71
 
  type::Decimal *val_decimal(type::Decimal *)
 
66
  my_decimal *val_decimal(my_decimal *)
72
67
  {
73
68
    illegal_method_call((const char*)"val_decimal");
74
69
    return 0;
92
87
  bool check_cols(uint32_t c);
93
88
  bool null_inside() { return with_null; };
94
89
  void bring_value();
 
90
  bool check_vcol_func_processor(unsigned char *)
 
91
  { return false; }
95
92
};
96
93
 
97
 
} /* namespace drizzled */
98
 
 
99
94
#endif /* DRIZZLED_ITEM_ROW_H */