~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/str.h

  • Committer: Lee Bieber
  • Date: 2011-01-25 02:10:42 UTC
  • mfrom: (2109.1.4 build)
  • Revision ID: kalebral@gmail.com-20110125021042-ocqa0v509ae7fmtz
Need to add a "drop table a" in execute.wait test
Add execute test suite to regular test run
Merge Lee - fix second part of 705699, check for both client and server before building and testing rabbitmq plugin
Merge Shrews - Changes TransactionServices methods to use references to Session objects instead of pointers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include <drizzled/field.h>
25
25
 
26
 
#include <drizzled/visibility.h>
27
 
 
28
26
namespace drizzled
29
27
{
30
28
 
32
30
 
33
31
/* base class for all string related classes */
34
32
 
35
 
class DRIZZLED_API Field_str :
36
 
  public Field
37
 
{
 
33
class Field_str :public Field {
38
34
protected:
39
35
  const CHARSET_INFO *field_charset;
40
36
  enum Derivation field_derivation;
65
61
  bool binary() const { return field_charset == &my_charset_bin; }
66
62
  uint32_t max_display_length() { return field_length; }
67
63
  friend class CreateField;
68
 
  type::Decimal *val_decimal(type::Decimal *) const;
 
64
  type::Decimal *val_decimal(type::Decimal *);
69
65
  virtual bool str_needs_quotes() { return true; }
70
66
  uint32_t max_data_length() const;
71
67
};