~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/decimal.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:
260
260
}
261
261
 
262
262
 
263
 
double Field_decimal::val_real(void)
 
263
double Field_decimal::val_real(void) const
264
264
{
265
265
  double dbl;
266
266
  type::Decimal decimal_value;
273
273
}
274
274
 
275
275
 
276
 
int64_t Field_decimal::val_int(void)
 
276
int64_t Field_decimal::val_int(void) const
277
277
{
278
278
  int64_t i;
279
279
  type::Decimal decimal_value;
286
286
}
287
287
 
288
288
 
289
 
type::Decimal* Field_decimal::val_decimal(type::Decimal *decimal_value)
 
289
type::Decimal* Field_decimal::val_decimal(type::Decimal *decimal_value) const
290
290
{
291
291
  ASSERT_COLUMN_MARKED_FOR_READ;
292
292
 
296
296
}
297
297
 
298
298
 
299
 
String *Field_decimal::val_str(String *val_buffer,
300
 
                               String *)
 
299
String *Field_decimal::val_str(String *val_buffer, String *) const
301
300
{
302
301
  type::Decimal decimal_value;
303
302