~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/int.h

  • Committer: Brian Aker
  • Date: 2009-12-06 01:55:53 UTC
  • mfrom: (1238.1.5 push)
  • Revision ID: brian@gaz-20091206015553-cva833q4gvwj11ob
Bundle for staging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    :value((int64_t)i)
37
37
  { max_length=length; fixed=1; }
38
38
  Item_int(const char *str_arg,int64_t i,uint32_t length) :value(i)
39
 
    { max_length=length; name=(char*) str_arg; fixed= 1; }
 
39
    { max_length= length; name= const_cast<char *>(str_arg); fixed= 1; }
40
40
  Item_int(const char *str_arg, uint32_t length=64);
41
41
  enum Type type() const { return INT_ITEM; }
42
42
  enum Item_result result_type () const { return INT_RESULT; }