~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/heap/hp_rsame.c

  • Committer: brian
  • Date: 2008-08-01 17:43:30 UTC
  • mfrom: (261.1.8 drizzle)
  • Revision ID: brian@localhost.localdomain-20080801174330-3y6yxa7pxkzdir6p
Merge from downsource tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
  HP_SHARE *share=info->s;
31
31
 
32
32
  test_active(info);
33
 
  if (info->current_ptr[share->reclength])
 
33
  if (get_chunk_status(&share->recordspace, info->current_ptr) == CHUNK_STATUS_ACTIVE)
34
34
  {
35
35
    if (inx < -1 || inx >= (int) share->keys)
36
36
    {
46
46
        return(my_errno);
47
47
      }
48
48
    }
49
 
    memcpy(record,info->current_ptr,(size_t) share->reclength);
 
49
    hp_extract_record(share, record, info->current_ptr);
50
50
    return(0);
51
51
  }
52
52
  info->update=0;