~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_rprev.cc

  • Committer: Brian Aker
  • Date: 2010-08-11 18:47:39 UTC
  • mfrom: (1689.2.28 rollup)
  • Revision ID: brian@gaz-20100811184739-ey7llnsu12gfv6hb
No longer concurrent, no longer need these locks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
  if (fast_mi_readinfo(info))
38
38
    return(errno);
39
39
  changed=_mi_test_if_changed(info);
40
 
  if (share->concurrent_insert)
41
 
    pthread_rwlock_rdlock(&share->key_root_lock[inx]);
42
40
  if (!flag)
43
41
    error=_mi_search_last(info, share->keyinfo+inx,
44
42
                          share->state.key_root[inx]);
64
62
          break;
65
63
      }
66
64
    }
67
 
    pthread_rwlock_unlock(&share->key_root_lock[inx]);
68
65
  }
69
66
  info->update&= (HA_STATE_CHANGED | HA_STATE_ROW_CHANGED);
70
67
  info->update|= HA_STATE_PREV_FOUND;