~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/myisam/mi_rnext_same.c

  • Committer: Brian Aker
  • Date: 2008-12-05 19:17:37 UTC
  • Revision ID: brian@tangent.org-20081205191737-pp8u84pdz6dcp182
Part removal of my_pthread.h

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    return(my_errno);
37
37
 
38
38
  if (info->s->concurrent_insert)
39
 
    rw_rdlock(&info->s->key_root_lock[inx]);
 
39
    pthread_rwlock_rdlock(&info->s->key_root_lock[inx]);
40
40
 
41
41
  switch (keyinfo->key_alg)
42
42
  {
68
68
      }
69
69
  }
70
70
  if (info->s->concurrent_insert)
71
 
    rw_unlock(&info->s->key_root_lock[inx]);
 
71
    pthread_rwlock_unlock(&info->s->key_root_lock[inx]);
72
72
        /* Don't clear if database-changed */
73
73
  info->update&= (HA_STATE_CHANGED | HA_STATE_ROW_CHANGED);
74
74
  info->update|= HA_STATE_NEXT_FOUND | HA_STATE_RNEXT_SAME;