~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/ha_heap.cc

Removing extreneous explicit casts for the heap storage engine.

Show diffs side-by-side

added added

removed removed

Lines of Context:
354
354
  int error;
355
355
  HEAP_PTR heap_position;
356
356
  ha_statistic_increment(&SSV::ha_read_rnd_count);
357
 
  memcpy((char*) &heap_position, pos, sizeof(HEAP_PTR));
 
357
  memcpy(&heap_position, pos, sizeof(HEAP_PTR));
358
358
  error=heap_rrnd(file, buf, heap_position);
359
359
  table->status=error ? STATUS_NOT_FOUND: 0;
360
360
  return error;