~jaypipes/drizzle/new-test-runner

« back to all changes in this revision

Viewing changes to storage/myisam/mi_rsame.c

  • Committer: Jay Pipes
  • Date: 2008-12-11 17:52:34 UTC
  • mfrom: (482.16.152 testable)
  • Revision ID: jpipes@serialcoder-20081211175234-uqsfvmgxejvmellq
merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
    info->lastkey_length=_mi_make_key(info,(uint) inx,info->lastkey,record,
50
50
                                      info->lastpos);
51
51
    if (info->s->concurrent_insert)
52
 
      rw_rdlock(&info->s->key_root_lock[inx]);
 
52
      pthread_rwlock_rdlock(&info->s->key_root_lock[inx]);
53
53
    _mi_search(info,info->s->keyinfo+inx,info->lastkey, USE_WHOLE_KEY,
54
54
               SEARCH_SAME,
55
55
               info->s->state.key_root[inx]);
56
56
    if (info->s->concurrent_insert)
57
 
      rw_unlock(&info->s->key_root_lock[inx]);
 
57
      pthread_rwlock_unlock(&info->s->key_root_lock[inx]);
58
58
  }
59
59
 
60
60
  if (!(*info->read_record)(info,info->lastpos,record))