~clint-fewbar/drizzle/authorize-default-deny

« back to all changes in this revision

Viewing changes to drizzled/field/datetime.h

  • Committer: Clint Byrum
  • Date: 2011-02-22 22:25:07 UTC
  • mfrom: (2177.1.15 build)
  • Revision ID: clint@ubuntu.com-20110222222507-azaofg4p8w55gdvr
merging trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
    ptr[0]=ptr[1]=ptr[2]=ptr[3]=ptr[4]=ptr[5]=ptr[6]=ptr[7]=0;
70
70
    return 0;
71
71
  }
72
 
  double val_real(void);
73
 
  int64_t val_int(void);
74
 
  String *val_str(String*,String *);
 
72
  double val_real(void) const;
 
73
  int64_t val_int(void) const;
 
74
  String *val_str(String*,String *) const;
75
75
  int cmp(const unsigned char *,const unsigned char *);
76
76
  void sort_string(unsigned char *buff,uint32_t length);
77
77
  uint32_t pack_length() const { return 8; }
78
78
  void sql_type(String &str) const;
79
79
  bool can_be_compared_as_int64_t() const { return true; }
80
80
  bool zero_pack() const { return 1; }
81
 
  bool get_date(type::Time &ltime,uint32_t fuzzydate);
82
 
  bool get_time(type::Time &ltime);
 
81
  bool get_date(type::Time &ltime,uint32_t fuzzydate) const;
 
82
  bool get_time(type::Time &ltime) const;
83
83
};
84
84
 
85
85
} /* namespace drizzled */