~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/microtime.h

  • Committer: Stewart Smith
  • Date: 2011-02-10 01:03:48 UTC
  • mto: (2154.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 2155.
  • Revision ID: stewart@flamingspork.com-20110210010348-5l0zh0akjahvx3vi
fix Session::tx_isolation to be getTxIsolation to follow coding style, but look weird

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()