~drizzle-pbxt/drizzle/drizzle-pbxt-2

« back to all changes in this revision

Viewing changes to drizzled/field/timestamp.h

  • Committer: Paul McCullagh
  • Date: 2009-11-10 14:18:39 UTC
  • mfrom: (1038.1.7 drizzle-pbxt-pre-merge)
  • Revision ID: paul.mccullagh@primebase.org-20091110141839-2j3k43b17ag6f605
Merged Drizzle trunk and PBXT 1.0.09

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#ifndef DRIZZLE_SERVER_FIELD_TIMESTAMP
22
 
#define DRIZZLE_SERVER_FIELD_TIMESTAMP
 
21
#ifndef DRIZZLED_FIELD_TIMESTAMP_H
 
22
#define DRIZZLED_FIELD_TIMESTAMP_H
23
23
 
24
24
#include <drizzled/field/str.h>
25
25
 
33
33
  using Field::val_str;
34
34
  using Field::cmp;
35
35
  using Field::store;
36
 
  Field_timestamp(unsigned char *ptr_arg, uint32_t len_arg,
37
 
                  unsigned char *null_ptr_arg, unsigned char null_bit_arg,
38
 
                  enum utype unireg_check_arg, const char *field_name_arg,
39
 
                  TableShare *share, const CHARSET_INFO * const cs);
40
 
  Field_timestamp(bool maybe_null_arg, const char *field_name_arg,
 
36
  Field_timestamp(unsigned char *ptr_arg,
 
37
                  uint32_t len_arg,
 
38
                  unsigned char *null_ptr_arg,
 
39
                  unsigned char null_bit_arg,
 
40
                  enum utype unireg_check_arg,
 
41
                  const char *field_name_arg,
 
42
                  TableShare *share,
 
43
                  const CHARSET_INFO * const cs);
 
44
  Field_timestamp(bool maybe_null_arg,
 
45
                  const char *field_name_arg,
41
46
                  const CHARSET_INFO * const cs);
42
47
  enum_field_types type() const { return DRIZZLE_TYPE_TIMESTAMP;}
43
48
  enum ha_base_keytype key_type() const { return HA_KEYTYPE_ULONG_INT; }
67
72
  timestamp_auto_set_type get_auto_set_type() const;
68
73
};
69
74
 
70
 
#endif
 
75
#endif /* DRIZZLED_FIELD_TIMESTAMP_H */
71
76