~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/rpl_record.cc

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
Remove uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
164
164
 */
165
165
int
166
166
unpack_row(Relay_log_info const *rli,
167
 
           Table *table, uint const colcnt,
 
167
           Table *table, uint32_t const colcnt,
168
168
           unsigned char const *const row_data, MY_BITMAP const *cols,
169
169
           unsigned char const **const row_end, ulong *const master_reclength)
170
170
{
185
185
  unsigned int null_mask= 1U;
186
186
  // The "current" null bits
187
187
  unsigned int null_bits= *null_ptr++;
188
 
  uint i= 0;
 
188
  uint32_t i= 0;
189
189
 
190
190
  /*
191
191
    Use the rli class to get the table's metadata. If tabledef is not NULL
251
251
    (tabledef not NULL). If tabledef is NULL then it is assumed that
252
252
    there are no extra columns.
253
253
  */
254
 
  uint max_cols= tabledef ? cmin(tabledef->size(), cols->n_bits) : 0;
 
254
  uint32_t max_cols= tabledef ? cmin(tabledef->size(), cols->n_bits) : 0;
255
255
  for (; i < max_cols; i++)
256
256
  {
257
257
    if (bitmap_is_set(cols, i))
318
318
*/
319
319
int prepare_record(Table *const table,
320
320
                   const MY_BITMAP *cols,
321
 
                   uint width __attribute__((unused)),
 
321
                   uint32_t width __attribute__((unused)),
322
322
                   const bool check)
323
323
{
324
324