~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/int64_t.h

  • Committer: Monty Taylor
  • Date: 2008-11-19 08:07:10 UTC
  • mto: (589.1.3 devel)
  • mto: This revision was merged to the branch mainline in revision 590.
  • Revision ID: monty@inaugust.com-20081119080710-wjyg9i0hcfddzss4
Removed field includes from field.h.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLE_SERVER_FIELD_INT_64_T
22
22
#define DRIZZLE_SERVER_FIELD_INT_64_T
23
23
 
 
24
#include <drizzled/field/num.h>
 
25
 
24
26
class Field_int64_t :public Field_num {
25
27
public:
26
 
  Field_int64_t(unsigned char *ptr_arg, uint32_t len_arg, unsigned char *null_ptr_arg,
27
 
              unsigned char null_bit_arg,
28
 
              enum utype unireg_check_arg, const char *field_name_arg,
29
 
              bool zero_arg, bool unsigned_arg)
 
28
  Field_int64_t(unsigned char *ptr_arg, uint32_t len_arg,
 
29
                unsigned char *null_ptr_arg,
 
30
                unsigned char null_bit_arg,
 
31
                enum utype unireg_check_arg, const char *field_name_arg,
 
32
                bool zero_arg, bool unsigned_arg)
30
33
    :Field_num(ptr_arg, len_arg, null_ptr_arg, null_bit_arg,
31
 
               unireg_check_arg, field_name_arg,
32
 
               0, zero_arg,unsigned_arg)
 
34
               unireg_check_arg, field_name_arg,
 
35
               0, zero_arg,unsigned_arg)
33
36
    {}
34
37
  Field_int64_t(uint32_t len_arg,bool maybe_null_arg,
35
 
                 const char *field_name_arg,
36
 
                  bool unsigned_arg)
 
38
                const char *field_name_arg,
 
39
                bool unsigned_arg)
37
40
    :Field_num((unsigned char*) 0, len_arg, maybe_null_arg ? (unsigned char*) "": 0,0,
38
 
               NONE, field_name_arg,0,0,unsigned_arg)
 
41
               NONE, field_name_arg,0,0,unsigned_arg)
39
42
    {}
40
43
  enum Item_result result_type () const { return INT_RESULT; }
41
44
  enum_field_types type() const { return DRIZZLE_TYPE_LONGLONG;}