~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memory/hp_rrnd.cc

  • Committer: Monty Taylor
  • Date: 2011-02-13 17:26:39 UTC
  • mfrom: (2157.2.2 give-in-to-pkg-config)
  • mto: This revision was merged to the branch mainline in revision 2166.
  • Revision ID: mordred@inaugust.com-20110213172639-nhy7i72sfhoq13ms
Merged in pkg-config fixes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
  if (!(info->current_ptr= pos))
33
33
  {
34
34
    info->update= 0;
35
 
    return(errno= HA_ERR_END_OF_FILE);
 
35
    return(errno=  drizzled::HA_ERR_END_OF_FILE);
36
36
  }
37
37
  if (get_chunk_status(&share->recordspace, info->current_ptr) != CHUNK_STATUS_ACTIVE)
38
38
  {
39
39
    /* treat deleted and linked chunks as deleted */
40
40
    info->update= HA_STATE_PREV_FOUND | HA_STATE_NEXT_FOUND;
41
 
    return(errno=HA_ERR_RECORD_DELETED);
 
41
    return(errno= drizzled::HA_ERR_RECORD_DELETED);
42
42
  }
43
43
  info->update=HA_STATE_PREV_FOUND | HA_STATE_NEXT_FOUND | HA_STATE_AKTIV;
44
44
  hp_extract_record(share, record, info->current_ptr);