~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/int64_t.h

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
  enum_field_types type() const { return DRIZZLE_TYPE_LONGLONG;}
42
42
  enum ha_base_keytype key_type() const
43
43
    { return unsigned_flag ? HA_KEYTYPE_ULONGLONG : HA_KEYTYPE_LONGLONG; }
44
 
  int store(const char *to,uint length, const CHARSET_INFO * const charset);
 
44
  int store(const char *to,uint32_t length, const CHARSET_INFO * const charset);
45
45
  int store(double nr);
46
46
  int store(int64_t nr, bool unsigned_val);
47
47
  int reset(void)
54
54
  String *val_str(String*,String *);
55
55
  bool send_binary(Protocol *protocol);
56
56
  int cmp(const unsigned char *,const unsigned char *);
57
 
  void sort_string(unsigned char *buff,uint length);
 
57
  void sort_string(unsigned char *buff,uint32_t length);
58
58
  uint32_t pack_length() const { return 8; }
59
59
  void sql_type(String &str) const;
60
60
  bool can_be_compared_as_int64_t() const { return true; }
61
61
  uint32_t max_display_length() { return 20; }
62
62
  virtual unsigned char *pack(unsigned char* to, const unsigned char *from,
63
 
                      uint max_length __attribute__((unused)),
 
63
                      uint32_t max_length __attribute__((unused)),
64
64
                      bool low_byte_first __attribute__((unused)))
65
65
  {
66
66
    int64_t val;
81
81
  }
82
82
 
83
83
  virtual const unsigned char *unpack(unsigned char* to, const unsigned char *from,
84
 
                              uint param_data __attribute__((unused)),
 
84
                              uint32_t param_data __attribute__((unused)),
85
85
                              bool low_byte_first __attribute__((unused)))
86
86
  {
87
87
    int64_t val;