~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/datetime.h

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

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(DRIZZLE_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(DRIZZLE_TIME *ltime,uint32_t fuzzydate);
82
 
  bool get_time(DRIZZLE_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 */