~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/int.h

  • Committer: Padraig O'Sullivan
  • Date: 2009-09-13 01:03:01 UTC
  • mto: (1126.9.2 captain-20090915-01)
  • mto: This revision was merged to the branch mainline in revision 1133.
  • Revision ID: osullivan.padraig@gmail.com-20090913010301-tcvvezipx1124acy
Added calls to the dtrace delete begin/end probes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
#include <drizzled/item/num.h>
24
24
 
25
 
namespace drizzled
26
 
{
27
 
 
28
25
class Item_int :public Item_num
29
26
{
30
27
public:
39
36
    :value((int64_t)i)
40
37
  { max_length=length; fixed=1; }
41
38
  Item_int(const char *str_arg,int64_t i,uint32_t length) :value(i)
42
 
    { max_length= length; name= const_cast<char *>(str_arg); fixed= 1; }
 
39
    { max_length=length; name=(char*) str_arg; fixed= 1; }
43
40
  Item_int(const char *str_arg, uint32_t length=64);
44
41
  enum Type type() const { return INT_ITEM; }
45
42
  enum Item_result result_type () const { return INT_RESULT; }
58
55
  bool eq(const Item *, bool binary_cmp) const;
59
56
};
60
57
 
61
 
} /* namespace drizzled */
62
 
 
63
58
#endif /* DRIZZLED_ITEM_INT_H */