~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/real.h

  • Committer: Monty Taylor
  • Date: 2008-10-22 23:45:01 UTC
  • Revision ID: monty@inaugust.com-20081022234501-hwybvprata8ba98l
Moved handler_error_messages array out of header file. Moved associated
functions to live with it.

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
23
 
 
24
 
#include <drizzled/field/num.h>
25
 
 
26
 
namespace drizzled
27
 
{
 
21
#ifndef DRIZZLE_SERVER_FIELD_REAL
 
22
#define DRIZZLE_SERVER_FIELD_REAL
 
23
 
28
24
 
29
25
/* base class for float and double and decimal (old one) */
30
26
class Field_real :public Field_num {
31
27
public:
32
28
  bool not_fixed;
33
29
 
34
 
  using Field::unpack;
35
 
  using Field::pack;
36
 
 
37
30
  Field_real(unsigned char *ptr_arg, uint32_t len_arg, unsigned char *null_ptr_arg,
38
31
             unsigned char null_bit_arg, utype unireg_check_arg,
39
32
             const char *field_name_arg,
53
46
                      uint32_t max_length, bool low_byte_first);
54
47
};
55
48
 
56
 
} /* namespace drizzled */
57
 
 
58
 
#endif /* DRIZZLED_FIELD_REAL_H */
 
49
#endif