~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/long.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:
40
40
  enum_field_types type() const { return DRIZZLE_TYPE_LONG;}
41
41
  enum ha_base_keytype key_type() const
42
42
    { return unsigned_flag ? HA_KEYTYPE_ULONG_INT : HA_KEYTYPE_LONG_INT; }
43
 
  int store(const char *to,uint length, const CHARSET_INFO * const charset);
 
43
  int store(const char *to,uint32_t length, const CHARSET_INFO * const charset);
44
44
  int store(double nr);
45
45
  int store(int64_t nr, bool unsigned_val);
46
46
  int reset(void) { ptr[0]=ptr[1]=ptr[2]=ptr[3]=0; return 0; }
49
49
  bool send_binary(Protocol *protocol);
50
50
  String *val_str(String*,String *);
51
51
  int cmp(const unsigned char *,const unsigned char *);
52
 
  void sort_string(unsigned char *buff,uint length);
 
52
  void sort_string(unsigned char *buff,uint32_t length);
53
53
  uint32_t pack_length() const { return 4; }
54
54
  void sql_type(String &str) const;
55
55
  uint32_t max_display_length() { return MY_INT32_NUM_DECIMAL_DIGITS; }
56
56
  virtual unsigned char *pack(unsigned char* to, const unsigned char *from,
57
 
                      uint max_length __attribute__((unused)),
 
57
                      uint32_t max_length __attribute__((unused)),
58
58
                      bool low_byte_first __attribute__((unused)))
59
59
  {
60
60
    int32_t val;
75
75
  }
76
76
 
77
77
  virtual const unsigned char *unpack(unsigned char* to, const unsigned char *from,
78
 
                              uint param_data __attribute__((unused)),
 
78
                              uint32_t param_data __attribute__((unused)),
79
79
                              bool low_byte_first __attribute__((unused)))
80
80
  {
81
81
    int32_t val;