~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.h

  • Committer: Brian Aker
  • Date: 2010-07-30 20:31:19 UTC
  • mto: This revision was merged to the branch mainline in revision 1679.
  • Revision ID: brian@gaz-20100730203119-89g2ye4zwnvcacxg
First pass in encapsulating row

Show diffs side-by-side

added added

removed removed

Lines of Context:
146
146
    return in_use;
147
147
  }
148
148
 
 
149
  unsigned char *getInsertRecord()
 
150
  {
 
151
    return record[0];
 
152
  }
 
153
 
 
154
  unsigned char *getUpdateRecord()
 
155
  {
 
156
    return record[1];
 
157
  }
 
158
 
149
159
  unsigned char *record[2]; /**< Pointer to "records" */
150
160
  std::vector<unsigned char> insert_values; /* used by INSERT ... UPDATE */
151
161
  KeyInfo  *key_info; /**< data of keys in database */
169
179
  uint32_t lock_data_start; /**< Start pos. in DRIZZLE_LOCK.locks */
170
180
  uint32_t lock_count; /**< Number of locks */
171
181
  uint32_t used_fields;
172
 
  uint32_t status; /* What's in record[0] */
 
182
  uint32_t status; /* What's in getInsertRecord() */
173
183
  /* number of select if it is derived table */
174
184
  uint32_t derived_select_number;
175
185
  int current_lock; /**< Type of lock on table */