~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.h

  • Committer: Brian Aker
  • Date: 2010-12-07 09:12:12 UTC
  • mto: This revision was merged to the branch mainline in revision 1985.
  • Revision ID: brian@tangent.org-20101207091212-1m0w20tck6z7632m
This is a fix for bug lp:686197

Show diffs side-by-side

added added

removed removed

Lines of Context:
166
166
        utype unireg_check_arg,
167
167
        const char *field_name_arg);
168
168
  virtual ~Field() {}
 
169
 
 
170
  bool hasDefault() const
 
171
  {
 
172
    return not (flags & NO_DEFAULT_VALUE_FLAG);
 
173
  }
 
174
 
169
175
  /* Store functions returns 1 on overflow and -1 on fatal error */
170
176
  virtual int store(const char *to,
171
177
                    uint32_t length,