~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/int32.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:
121
121
  }
122
122
 
123
123
 
124
 
  double Int32::val_real(void)
 
124
  double Int32::val_real(void) const
125
125
  {
126
126
    int32_t j;
127
127
 
132
132
    return (double) j;
133
133
  }
134
134
 
135
 
  int64_t Int32::val_int(void)
 
135
  int64_t Int32::val_int(void) const
136
136
  {
137
137
    int32_t j;
138
138
 
143
143
    return (int64_t) j;
144
144
  }
145
145
 
146
 
  String *Int32::val_str(String *val_buffer, String *)
 
146
  String *Int32::val_str(String *val_buffer, String *) const
147
147
  {
148
148
    const CHARSET_INFO * const cs= &my_charset_bin;
149
149
    uint32_t length;