~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/field/timestamp.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_timestamp :public Field_str {
27
27
public:
28
 
  Field_timestamp(uchar *ptr_arg, uint32 len_arg,
 
28
  Field_timestamp(uchar *ptr_arg, uint32_t len_arg,
29
29
                  uchar *null_ptr_arg, uchar null_bit_arg,
30
30
                  enum utype unireg_check_arg, const char *field_name_arg,
31
31
                  TABLE_SHARE *share, CHARSET_INFO *cs);
44
44
  bool send_binary(Protocol *protocol);
45
45
  int cmp(const uchar *,const uchar *);
46
46
  void sort_string(uchar *buff,uint length);
47
 
  uint32 pack_length() const { return 4; }
 
47
  uint32_t pack_length() const { return 4; }
48
48
  void sql_type(String &str) const;
49
49
  bool can_be_compared_as_int64_t() const { return true; }
50
50
  bool zero_pack() const { return 0; }
79
79
    }
80
80
    else
81
81
#endif
82
 
      longstore(ptr,(uint32) timestamp);
 
82
      longstore(ptr,(uint32_t) timestamp);
83
83
  }
84
84
  bool get_date(MYSQL_TIME *ltime,uint fuzzydate);
85
85
  bool get_time(MYSQL_TIME *ltime);