~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_range.cc

  • Committer: Monty Taylor
  • Date: 2010-08-21 03:34:31 UTC
  • mto: (1725.1.3 build)
  • mto: This revision was merged to the branch mainline in revision 1726.
  • Revision ID: mordred@inaugust.com-20100821033431-e0czq298av2aqx25
Rearranged how we set -fvisibility, allowing us to turn it on on a
library-by-library basis even if we specify skip-visiblity as an argument to
PANDORA_CANONICAL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
  if (fast_mi_readinfo(info))
57
57
    return(HA_POS_ERROR);
58
58
  info->update&= (HA_STATE_CHANGED+HA_STATE_ROW_CHANGED);
59
 
  if (info->s->concurrent_insert)
60
 
    pthread_rwlock_rdlock(&info->s->key_root_lock[inx]);
61
59
 
62
60
  switch(info->s->keyinfo[inx].key_alg){
63
61
  case HA_KEY_ALG_BTREE:
74
72
      res=HA_POS_ERROR;
75
73
  }
76
74
 
77
 
  if (info->s->concurrent_insert)
78
 
    pthread_rwlock_unlock(&info->s->key_root_lock[inx]);
79
75
  fast_mi_writeinfo(info);
80
76
 
81
77
  return(res);