~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/date.h

  • Committer: Lee Bieber
  • Date: 2011-02-19 06:59:33 UTC
  • mfrom: (2179.5.1 drizzle-staging)
  • Revision ID: kalebral@gmail.com-20110219065933-pjrxhdcvupqg6tma
Merge Brian - clarifies a number of parser ambiguity, and cleans up UPDATE and DELETE

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
  int  store(int64_t nr, bool unsigned_val);
67
67
  int store_time(type::Time &ltime, type::timestamp_t type);
68
68
  int reset(void) { ptr[0]=ptr[1]=ptr[2]=ptr[3]=0; return 0; }
69
 
  double val_real(void) const;
70
 
  int64_t val_int(void) const;
71
 
  String *val_str(String*,String *) const;
 
69
  double val_real(void);
 
70
  int64_t val_int(void);
 
71
  String *val_str(String*,String *);
72
72
  int cmp(const unsigned char *,const unsigned char *);
73
73
  void sort_string(unsigned char *buff,uint32_t length);
74
74
  uint32_t pack_length() const { return 4; }
75
75
  void sql_type(String &str) const;
76
76
  bool can_be_compared_as_int64_t() const { return true; }
77
77
  bool zero_pack() const { return 1; }
78
 
  bool get_date(type::Time &ltime,uint32_t fuzzydate) const;
79
 
  bool get_time(type::Time &ltime) const;
 
78
  bool get_date(type::Time &ltime,uint32_t fuzzydate);
 
79
  bool get_time(type::Time &ltime);
80
80
};
81
81
 
82
82
} /* namespace drizzled */