~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/null.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:
36
36
    {}
37
37
  enum_field_types type() const { return DRIZZLE_TYPE_NULL;}
38
38
  int  store(const char *to __attribute__((unused)),
39
 
             uint length __attribute__((unused)),
 
39
             uint32_t length __attribute__((unused)),
40
40
             const CHARSET_INFO * const cs __attribute__((unused)))
41
41
  { null[0]=1; return 0; }
42
42
  int store(double nr __attribute__((unused)))
59
59
  int cmp(const unsigned char *a __attribute__((unused)),
60
60
          const unsigned char *b __attribute__((unused))) { return 0;}
61
61
  void sort_string(unsigned char *buff __attribute__((unused)),
62
 
                   uint length __attribute__((unused)))  {}
 
62
                   uint32_t length __attribute__((unused)))  {}
63
63
  uint32_t pack_length() const { return 0; }
64
64
  void sql_type(String &str) const;
65
 
  uint size_of() const { return sizeof(*this); }
 
65
  uint32_t size_of() const { return sizeof(*this); }
66
66
  uint32_t max_display_length() { return 4; }
67
67
};
68
68