~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/heap/hp_scan.cc

  • Committer: Monty Taylor
  • Date: 2009-12-25 02:36:12 UTC
  • mfrom: (1253 build)
  • mto: (1253.2.3 out-of-tree)
  • mto: This revision was merged to the branch mainline in revision 1258.
  • Revision ID: mordred@inaugust.com-20091225023612-7hekryz87dtus3ph
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
      if (pos >= info->next_block)
53
53
      {
54
54
        info->update= 0;
55
 
        return(my_errno= HA_ERR_END_OF_FILE);
 
55
        return(errno= HA_ERR_END_OF_FILE);
56
56
      }
57
57
    }
58
58
    hp_find_record(info, pos);
60
60
  if (get_chunk_status(&share->recordspace, info->current_ptr) != CHUNK_STATUS_ACTIVE)
61
61
  {
62
62
    info->update= HA_STATE_PREV_FOUND | HA_STATE_NEXT_FOUND;
63
 
    return(my_errno=HA_ERR_RECORD_DELETED);
 
63
    return(errno=HA_ERR_RECORD_DELETED);
64
64
  }
65
65
  info->update= HA_STATE_PREV_FOUND | HA_STATE_NEXT_FOUND | HA_STATE_AKTIV;
66
66
  hp_extract_record(share, record, info->current_ptr);