~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/double.h

  • Committer: Brian Aker
  • Date: 2011-02-20 21:00:32 UTC
  • mfrom: (2181.2.6 drizzle-build)
  • Revision ID: brian@tangent.org-20110220210032-fc9g8qugt0n1yjr6
Brian Aker 2011-02-20 Merge in additional header bits for strerror_r
Brian Aker 2011-02-20 Create CONST on additional Field methods.
Brian Aker 2011-02-19 Further commit const on field.
Brian Aker 2011-02-18 This fixes DEBUG based compiles.
Brian Aker 2011-02-18 Protect all of the val_* methods from modification.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
  int  store(double nr);
60
60
  int  store(int64_t nr, bool unsigned_val);
61
61
  int reset(void) { memset(ptr, 0, sizeof(double)); return 0; }
62
 
  double val_real(void);
63
 
  int64_t val_int(void);
64
 
  String *val_str(String*,String *);
 
62
  double val_real(void) const;
 
63
  int64_t val_int(void) const;
 
64
  String *val_str(String*,String *) const;
65
65
  int cmp(const unsigned char *,const unsigned char *);
66
66
  void sort_string(unsigned char *buff,uint32_t length);
67
67
  uint32_t pack_length() const { return sizeof(double); }