~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/records.cc

MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
253
253
      !table->file->pushed_cond)
254
254
    table->file->cond_push(select->cond);
255
255
 
256
 
  DBUG_VOID_RETURN;
 
256
  return;
257
257
} /* init_read_record */
258
258
 
259
259
 
504
504
      !(info->cache=(uchar*) my_malloc_lock(rec_cache_size+info->cache_records*
505
505
                                           info->struct_length+1,
506
506
                                           MYF(0))))
507
 
    DBUG_RETURN(1);
 
507
    return(1);
508
508
#ifdef HAVE_purify
509
509
  // Avoid warnings in qsort
510
510
  bzero(info->cache,rec_cache_size+info->cache_records* info->struct_length+1);
512
512
  DBUG_PRINT("info",("Allocated buffert for %d records",info->cache_records));
513
513
  info->read_positions=info->cache+rec_cache_size;
514
514
  info->cache_pos=info->cache_end=info->cache;
515
 
  DBUG_RETURN(0);
 
515
  return(0);
516
516
} /* init_rr_cache */
517
517
 
518
518