~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/microtime.h

  • Committer: Brian Aker
  • Date: 2011-01-13 00:08:59 UTC
  • mto: (2082.4.1 timestamp)
  • mto: This revision was merged to the branch mainline in revision 2098.
  • Revision ID: brian@tangent.org-20110113000859-8dw4ybnp8id56u50
Fix issue with return value from unix_timestamp(). Also clean up error
messages, and remove limit on value for timestamp.

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
  int store(double nr);
56
56
  int store(int64_t nr, bool unsigned_val);
57
57
  int store_time(type::Time *ltime, enum enum_drizzle_timestamp_type t_type);
 
58
  int store_decimal(const type::Decimal *);
58
59
 
 
60
  String *val_str(String*,String *);
59
61
  double val_real(void);
60
62
  int64_t val_int(void);
61
 
  String *val_str(String*,String *);
 
63
  type::Decimal *val_decimal(type::Decimal *decimal_value);
 
64
 
62
65
  int cmp(const unsigned char *,const unsigned char *);
63
66
  void sort_string(unsigned char *buff,uint32_t length);
64
67
  uint32_t pack_length() const { return 12; }