~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/boolean.h

  • Committer: Lee Bieber
  • Date: 2011-01-24 17:20:08 UTC
  • mfrom: (2107.2.1 trunk-bug-703913)
  • mto: This revision was merged to the branch mainline in revision 2109.
  • Revision ID: kalebral@gmail.com-20110124172008-y5maihyoyu7gn18p
Merge Andrew - fix bug 703913: some support-files should be dropped

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
  int store(int64_t nr, bool unsigned_val);
53
53
  int store_decimal(const drizzled::type::Decimal*);
54
54
 
55
 
  String *val_str(String*,String *) const;
56
 
  double val_real() const;
57
 
  int64_t val_int() const;
58
 
  type::Decimal *val_decimal(type::Decimal *) const;
 
55
  String *val_str(String*,String *);
 
56
  double val_real();
 
57
  int64_t val_int();
 
58
  type::Decimal *val_decimal(type::Decimal *);
59
59
 
60
60
  void sql_type(drizzled::String&) const;
61
61
 
64
64
  void sort_string(unsigned char*, uint32_t);
65
65
  uint32_t max_display_length() { return 5; } // longest string is "false"
66
66
 
67
 
  bool can_be_compared_as_int64_t() const
68
 
  {
69
 
    return true;
70
 
  }
71
 
 
72
67
  inline String *val_str(String *str) { return val_str(str, str); }
73
68
  uint32_t size_of() const { return sizeof(*this); }
74
69