~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/blob.h

  • Committer: Brian Aker
  • Date: 2009-02-02 23:10:18 UTC
  • mfrom: (779.3.40 devel)
  • Revision ID: brian@tangent.org-20090202231018-zlp0hka6kgwy1vfy
Merge from Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
  uint32_t packlength;
31
31
  String value;                         // For temporaries
32
32
public:
 
33
 
 
34
  using Field::store;
 
35
  using Field::cmp;
 
36
  using Field::pack;
 
37
  using Field::unpack;
 
38
  using Field::val_int;
 
39
  using Field::val_str;
 
40
 
 
41
 
33
42
  Field_blob(unsigned char *ptr_arg, unsigned char *null_ptr_arg, unsigned char null_bit_arg,
34
43
             enum utype unireg_check_arg, const char *field_name_arg,
35
44
             TABLE_SHARE *share, uint32_t blob_pack_length, const CHARSET_INFO * const cs);
62
71
  enum_field_types type() const { return DRIZZLE_TYPE_BLOB;}
63
72
  enum ha_base_keytype key_type() const
64
73
    { return binary() ? HA_KEYTYPE_VARBINARY2 : HA_KEYTYPE_VARTEXT2; }
65
 
  int  store(const char *to,uint32_t length, const CHARSET_INFO * const charset);
 
74
  int  store(const char *to,uint32_t length,
 
75
             const CHARSET_INFO * const charset);
66
76
  int  store(double nr);
67
77
  int  store(int64_t nr, bool unsigned_val);
 
78
 
68
79
  double val_real(void);
69
80
  int64_t val_int(void);
70
81
  String *val_str(String*,String *);