~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/int.h

  • Committer: Stewart Smith
  • Date: 2009-06-16 06:55:11 UTC
  • mto: This revision was merged to the branch mainline in revision 1094.
  • Revision ID: stewart@flamingspork.com-20090616065511-ps3ewfxj7918lwy3
rollback.test for MyISAM temp only.
- rename to myisam_rollback to reflect what it's testing
- just use create temporary table

Show diffs side-by-side

added added

removed removed

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