~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_extra.c

  • Committer: Brian Aker
  • Date: 2008-08-12 03:12:57 UTC
  • Revision ID: brian@tangent.org-20080812031257-ln3uk87y1r22byeg
First pass of new sql_db.cc work

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
      cache_size= (extra_arg ? *(uint32_t*) extra_arg :
82
82
                   my_default_record_cache_size);
83
83
      if (!(init_io_cache(&info->rec_cache,info->dfile,
84
 
                         (uint) cmin(info->state->data_file_length+1,
 
84
                         (uint) min(info->state->data_file_length+1,
85
85
                                    cache_size),
86
86
                          READ_CACHE,0L,(bool) (info->lock_type != F_UNLCK),
87
87
                          MYF(share->write_flag & MY_WAIT_IF_FULL))))
209
209
    if (mi_is_any_key_active(share->state.key_map))
210
210
    {
211
211
      MI_KEYDEF *key=share->keyinfo;
212
 
      uint32_t i;
 
212
      uint i;
213
213
      for (i=0 ; i < share->base.keys ; i++,key++)
214
214
      {
215
215
        if (!(key->flag & HA_NOSAME) && info->s->base.auto_key != i+1)
376
376
 */
377
377
static void mi_extra_keyflag(MI_INFO *info, enum ha_extra_function function)
378
378
{
379
 
  uint32_t  idx;
 
379
  uint  idx;
380
380
 
381
381
  for (idx= 0; idx< info->s->base.keys; idx++)
382
382
  {