~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/ha_heap.cc

  • Committer: brian
  • Date: 2008-08-01 17:27:37 UTC
  • mfrom: (261.1.6 drizzle)
  • Revision ID: brian@localhost.localdomain-20080801172737-v6f9pau23un0bwfl
Merge from Monty

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;