~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/real.h

  • Committer: Brian Aker
  • Date: 2009-01-24 09:43:35 UTC
  • Revision ID: brian@gir-3.local-20090124094335-6qdtvc35gl5fvivz
Adding in an example singe thread scheduler

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#ifndef DRIZZLED_FIELD_REAL_H
22
 
#define DRIZZLED_FIELD_REAL_H
 
21
#ifndef DRIZZLE_SERVER_FIELD_REAL
 
22
#define DRIZZLE_SERVER_FIELD_REAL
23
23
 
24
24
#include <drizzled/field/num.h>
25
25
 
26
 
namespace drizzled
27
 
{
28
 
 
29
26
/* base class for float and double and decimal (old one) */
30
27
class Field_real :public Field_num {
31
28
public:
32
29
  bool not_fixed;
33
30
 
34
 
  using Field::unpack;
35
 
  using Field::pack;
36
 
 
37
31
  Field_real(unsigned char *ptr_arg, uint32_t len_arg, unsigned char *null_ptr_arg,
38
32
             unsigned char null_bit_arg, utype unireg_check_arg,
39
33
             const char *field_name_arg,
53
47
                      uint32_t max_length, bool low_byte_first);
54
48
};
55
49
 
56
 
} /* namespace drizzled */
57
 
 
58
 
#endif /* DRIZZLED_FIELD_REAL_H */
 
50
#endif