~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/datetime.h

  • Committer: Brian Aker
  • Date: 2011-02-12 08:20:19 UTC
  • mto: This revision was merged to the branch mainline in revision 2161.
  • Revision ID: brian@tangent.org-20110212082019-09gs5y1b0pxoaesb
Merge in optimizer pieces.

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
  int  store(const char *to,uint32_t length, const CHARSET_INFO * const charset);
64
64
  int  store(double nr);
65
65
  int  store(int64_t nr, bool unsigned_val);
66
 
  int store_time(type::Time *ltime, enum enum_drizzle_timestamp_type type);
 
66
  int store_time(type::Time &ltime, type::timestamp_t type);
67
67
  int reset(void)
68
68
  {
69
69
    ptr[0]=ptr[1]=ptr[2]=ptr[3]=ptr[4]=ptr[5]=ptr[6]=ptr[7]=0;
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);
 
82
  bool get_time(type::Time &ltime);
83
83
};
84
84
 
85
85
} /* namespace drizzled */