~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.h

  • Committer: Brian Aker
  • Date: 2010-12-16 20:27:14 UTC
  • mto: (2002.1.4 clean) (2015.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2003.
  • Revision ID: brian@tangent.org-20101216202714-fmzbmyoetoi8pr6j
First pass through, removing the need for us track the position in this
manner.

Show diffs side-by-side

added added

removed removed

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