~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/microtime.h

  • Committer: Brian Aker
  • Date: 2011-01-11 00:57:46 UTC
  • mto: (2082.4.1 timestamp)
  • mto: This revision was merged to the branch mainline in revision 2072.
  • Revision ID: brian@tangent.org-20110111005746-xdu3ql70zp1s1vlb
Fix issue with now() not storing fractional seconds in timestamp(6)

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
  enum_field_types type() const { return DRIZZLE_TYPE_MICROTIME;}
51
51
  enum ha_base_keytype key_type() const { return HA_KEYTYPE_BINARY; }
52
52
  enum Item_result cmp_type () const { return STRING_RESULT; }
53
 
  int  store(const char *to,uint32_t length,
54
 
             const CHARSET_INFO * const charset);
55
 
  int  store(double nr);
56
 
  int  store(int64_t nr, bool unsigned_val);
 
53
  int store(const char *to,uint32_t length,
 
54
            const CHARSET_INFO * const charset);
 
55
  int store(double nr);
 
56
  int store(int64_t nr, bool unsigned_val);
 
57
  int store_time(type::Time *ltime, enum enum_drizzle_timestamp_type t_type);
 
58
 
57
59
  double val_real(void);
58
60
  int64_t val_int(void);
59
61
  String *val_str(String*,String *);