~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/int32.cc

edit

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 */
20
20
 
21
21
 
22
 
#include <config.h>
 
22
#include "config.h"
23
23
#include <drizzled/field/int32.h>
24
24
#include <drizzled/error.h>
25
25
#include <drizzled/table.h>
121
121
  }
122
122
 
123
123
 
124
 
  double Int32::val_real(void) const
 
124
  double Int32::val_real(void)
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) const
 
135
  int64_t Int32::val_int(void)
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 *) const
 
146
  String *Int32::val_str(String *val_buffer, String *)
147
147
  {
148
148
    const CHARSET_INFO * const cs= &my_charset_bin;
149
149
    uint32_t length;