~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/varstring.h

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include <drizzled/field/str.h>
25
25
#include <string>
26
26
 
 
27
namespace drizzled
 
28
{
 
29
 
27
30
class Field_varstring :public Field_str {
28
31
public:
29
32
 
106
109
  enum_field_types real_type() const { return DRIZZLE_TYPE_VARCHAR; }
107
110
  bool has_charset(void) const
108
111
  { return charset() == &my_charset_bin ? false : true; }
109
 
  Field *new_field(drizzled::memory::Root *root, Table *new_table, bool keep_type);
110
 
  Field *new_key_field(drizzled::memory::Root *root, Table *new_table,
 
112
  Field *new_field(memory::Root *root, Table *new_table, bool keep_type);
 
113
  Field *new_key_field(memory::Root *root, Table *new_table,
111
114
                       unsigned char *new_ptr, unsigned char *new_null_ptr,
112
115
                       uint32_t new_null_bit);
113
116
};
114
117
 
 
118
} /* namespace drizzled */
 
119
 
115
120
#endif /* DRIZZLED_FIELD_VARSTRING_H */
116
121