~mordred/drizzle/codestyle

« back to all changes in this revision

Viewing changes to drizzled/field/timestamp.h

  • Committer: Brian Aker
  • Date: 2008-10-06 05:57:49 UTC
  • Revision ID: brian@tangent.org-20081006055749-svg700gciuqi0zu1
Remove all of uchar.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
class Field_timestamp :public Field_str {
25
25
public:
26
 
  Field_timestamp(uchar *ptr_arg, uint32_t len_arg,
27
 
                  uchar *null_ptr_arg, uchar null_bit_arg,
 
26
  Field_timestamp(unsigned char *ptr_arg, uint32_t len_arg,
 
27
                  unsigned char *null_ptr_arg, unsigned char null_bit_arg,
28
28
                  enum utype unireg_check_arg, const char *field_name_arg,
29
29
                  TABLE_SHARE *share, const CHARSET_INFO * const cs);
30
30
  Field_timestamp(bool maybe_null_arg, const char *field_name_arg,
40
40
  int64_t val_int(void);
41
41
  String *val_str(String*,String *);
42
42
  bool send_binary(Protocol *protocol);
43
 
  int cmp(const uchar *,const uchar *);
44
 
  void sort_string(uchar *buff,uint length);
 
43
  int cmp(const unsigned char *,const unsigned char *);
 
44
  void sort_string(unsigned char *buff,uint length);
45
45
  uint32_t pack_length() const { return 4; }
46
46
  void sql_type(String &str) const;
47
47
  bool can_be_compared_as_int64_t() const { return true; }