~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/str.h

  • Committer: Brian Aker
  • Date: 2009-10-02 21:34:26 UTC
  • mfrom: (1134.1.4 bug426504)
  • Revision ID: brian@gaz-20091002213426-7ojknrpknoedaprl
Merge Monty

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 DRIZZLED_FIELD_STR_H
22
 
#define DRIZZLED_FIELD_STR_H
 
21
#ifndef DRIZZLE_SERVER_FIELD_STR
 
22
#define DRIZZLE_SERVER_FIELD_STR
23
23
 
24
24
#include <drizzled/field.h>
25
25
 
26
 
namespace drizzled
27
 
{
28
 
 
29
26
typedef struct charset_info_st CHARSET_INFO;
30
27
 
31
28
/* base class for all string related classes */
63
60
  friend class CreateField;
64
61
  my_decimal *val_decimal(my_decimal *);
65
62
  virtual bool str_needs_quotes() { return true; }
 
63
  bool compare_str_field_flags(CreateField *new_field, uint32_t flags);
 
64
  uint32_t is_equal(CreateField *new_field);
66
65
  uint32_t max_data_length() const;
67
66
};
68
67
 
99
98
                             const CHARSET_INFO * const cs);
100
99
 
101
100
 
102
 
} /* namespace drizzled */
103
 
 
104
 
#endif /* DRIZZLED_FIELD_STR_H */
 
101
#endif