~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/microtime.h

  • Committer: Brian Aker
  • Date: 2011-02-12 06:13:32 UTC
  • mto: This revision was merged to the branch mainline in revision 2161.
  • Revision ID: brian@tangent.org-20110212061332-a5dtetim82r6vvls
Merge in session up and out of sql_select.h

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
  int store(int64_t nr, bool unsigned_val);
57
57
  int store_time(type::Time &ltime, type::timestamp_t t_type);
58
58
 
59
 
  String *val_str(String*,String *) const;
60
 
  double val_real(void) const;
61
 
  int64_t val_int(void) const;
62
 
  type::Decimal *val_decimal(type::Decimal *decimal_value) const;
 
59
  String *val_str(String*,String *);
 
60
  double val_real(void);
 
61
  int64_t val_int(void);
 
62
  type::Decimal *val_decimal(type::Decimal *decimal_value);
63
63
 
64
64
  int cmp(const unsigned char *,const unsigned char *);
65
65
  void sort_string(unsigned char *buff,uint32_t length);
70
70
  void set_time();
71
71
 
72
72
  /* Get TIMESTAMP field value as seconds since begging of Unix Microtime */
73
 
  long get_timestamp(bool *null_value) const;
 
73
  long get_timestamp(bool *null_value);
74
74
 
75
75
private:
76
 
  bool get_date(type::Time &ltime,uint32_t fuzzydate) const;
77
 
  bool get_time(type::Time &ltime) const;
 
76
  bool get_date(type::Time &ltime,uint32_t fuzzydate);
 
77
  bool get_time(type::Time &ltime);
78
78
 
79
79
public:
80
80
  static size_t max_string_length()