~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/field/int64_t.h

  • Committer: Brian Aker
  • Date: 2008-07-22 18:31:32 UTC
  • Revision ID: brian@tangent.org-20080722183132-ne2ntl7g7mdf2eez
uint32 -> uin32_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
class Field_int64_t :public Field_num {
27
27
public:
28
 
  Field_int64_t(uchar *ptr_arg, uint32 len_arg, uchar *null_ptr_arg,
 
28
  Field_int64_t(uchar *ptr_arg, uint32_t len_arg, uchar *null_ptr_arg,
29
29
              uchar null_bit_arg,
30
30
              enum utype unireg_check_arg, const char *field_name_arg,
31
31
              bool zero_arg, bool unsigned_arg)
33
33
               unireg_check_arg, field_name_arg,
34
34
               0, zero_arg,unsigned_arg)
35
35
    {}
36
 
  Field_int64_t(uint32 len_arg,bool maybe_null_arg,
 
36
  Field_int64_t(uint32_t len_arg,bool maybe_null_arg,
37
37
                 const char *field_name_arg,
38
38
                  bool unsigned_arg)
39
39
    :Field_num((uchar*) 0, len_arg, maybe_null_arg ? (uchar*) "": 0,0,
57
57
  bool send_binary(Protocol *protocol);
58
58
  int cmp(const uchar *,const uchar *);
59
59
  void sort_string(uchar *buff,uint length);
60
 
  uint32 pack_length() const { return 8; }
 
60
  uint32_t pack_length() const { return 8; }
61
61
  void sql_type(String &str) const;
62
62
  bool can_be_compared_as_int64_t() const { return true; }
63
 
  uint32 max_display_length() { return 20; }
 
63
  uint32_t max_display_length() { return 20; }
64
64
  virtual uchar *pack(uchar* to, const uchar *from,
65
65
                      uint max_length __attribute__((__unused__)),
66
66
                      bool low_byte_first __attribute__((__unused__)))