~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_rnext_same.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
 
40
 
  if (info->s->concurrent_insert)
41
 
    pthread_rwlock_rdlock(&info->s->key_root_lock[inx]);
42
 
 
43
40
  switch (keyinfo->key_alg)
44
41
  {
45
42
    case HA_KEY_ALG_BTREE:
69
66
          break;
70
67
      }
71
68
  }
72
 
  if (info->s->concurrent_insert)
73
 
    pthread_rwlock_unlock(&info->s->key_root_lock[inx]);
74
 
        /* Don't clear if database-changed */
 
69
  /* Don't clear if database-changed */
75
70
  info->update&= (HA_STATE_CHANGED | HA_STATE_ROW_CHANGED);
76
71
  info->update|= HA_STATE_NEXT_FOUND | HA_STATE_RNEXT_SAME;
77
72