~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/str.cc

  • 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:
110
110
  return store(str.ptr(), str.length(), str.charset());
111
111
}
112
112
 
113
 
type::Decimal *Field_str::val_decimal(type::Decimal *decimal_value)
 
113
type::Decimal *Field_str::val_decimal(type::Decimal *decimal_value) const
114
114
{
115
115
  int64_t nr= val_int();
116
116
  int2_class_decimal(E_DEC_FATAL_ERROR, nr, 0, decimal_value);