~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.h

  • Committer: Brian Aker
  • Date: 2010-12-17 00:08:06 UTC
  • mfrom: (2002.1.4 clean)
  • Revision ID: brian@tangent.org-20101217000806-fa6kmggjnhsl4q85
Rollup for field encapsulation, monty fix for bzrignore, and Andrew bug
fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
141
141
  utype unireg_check;
142
142
  uint32_t field_length; /**< Length of this field in bytes */
143
143
  uint32_t flags;
 
144
private:
144
145
  uint16_t field_index; /**< Index of this Field in Table::fields array */
 
146
 
 
147
public:
 
148
 
 
149
  uint16_t position() const
 
150
  {
 
151
    return field_index;
 
152
  }
 
153
 
 
154
  void setPosition(uint32_t arg)
 
155
  {
 
156
    field_index= arg;
 
157
  }
 
158
 
145
159
  unsigned char null_bit; /**< Bit used to test null bit */
146
160
  /**
147
161
     If true, this field was created in create_tmp_field_from_item from a NULL