~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/boolean.h

  • Committer: Brian Aker
  • Date: 2011-02-04 23:02:48 UTC
  • mto: (2147.3.1 alter-table)
  • mto: This revision was merged to the branch mainline in revision 2148.
  • Revision ID: brian@tangent.org-20110204230248-fuub99d2y6gh514c
Remove current_session in building the error count.

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