~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/int64_t.h

  • Committer: Brian Aker
  • Date: 2008-08-07 16:29:49 UTC
  • mfrom: (264.1.20 codestyle)
  • Revision ID: brian@tangent.org-20080807162949-7o8eyjgdn8ms3n1a
Merge from Monty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef DRIZZLE_SERVER_FIELD_INT_64_T
22
22
#define DRIZZLE_SERVER_FIELD_INT_64_T
23
23
 
24
 
#include <drizzled/mysql_priv.h>
25
 
 
26
24
class Field_int64_t :public Field_num {
27
25
public:
28
26
  Field_int64_t(uchar *ptr_arg, uint32_t len_arg, uchar *null_ptr_arg,
43
41
  enum_field_types type() const { return DRIZZLE_TYPE_LONGLONG;}
44
42
  enum ha_base_keytype key_type() const
45
43
    { return unsigned_flag ? HA_KEYTYPE_ULONGLONG : HA_KEYTYPE_LONGLONG; }
46
 
  int store(const char *to,uint length,CHARSET_INFO *charset);
 
44
  int store(const char *to,uint length, const CHARSET_INFO * const charset);
47
45
  int store(double nr);
48
46
  int store(int64_t nr, bool unsigned_val);
49
47
  int reset(void)