~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/field/null.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:
30
30
class Field_null :public Field_str {
31
31
  static uchar null[1];
32
32
public:
33
 
  Field_null(uchar *ptr_arg, uint32 len_arg,
 
33
  Field_null(uchar *ptr_arg, uint32_t len_arg,
34
34
             enum utype unireg_check_arg, const char *field_name_arg,
35
35
             CHARSET_INFO *cs)
36
36
    :Field_str(ptr_arg, len_arg, null, 1,
62
62
          const uchar *b __attribute__((__unused__))) { return 0;}
63
63
  void sort_string(uchar *buff __attribute__((__unused__)),
64
64
                   uint length __attribute__((__unused__)))  {}
65
 
  uint32 pack_length() const { return 0; }
 
65
  uint32_t pack_length() const { return 0; }
66
66
  void sql_type(String &str) const;
67
67
  uint size_of() const { return sizeof(*this); }
68
 
  uint32 max_display_length() { return 4; }
 
68
  uint32_t max_display_length() { return 4; }
69
69
};
70
70
 
71
71
#endif