~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/mi_rsame.cc

  • Committer: Brian Aker
  • Date: 2010-05-27 01:22:55 UTC
  • mto: This revision was merged to the branch mainline in revision 1568.
  • Revision ID: brian@gaz-20100527012255-ssmjt4un8ptpg4jv
Remove dead .opt files. Removed two options from Innodb which do not relate
to drizzle (backwards compatible options for old MySQL). 

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
16
#include "myisam_priv.h"
17
17
#include <drizzled/util/test.h>
49
49
    info->lastinx=inx;
50
50
    info->lastkey_length=_mi_make_key(info,(uint) inx,info->lastkey,record,
51
51
                                      info->lastpos);
 
52
    if (info->s->concurrent_insert)
 
53
      pthread_rwlock_rdlock(&info->s->key_root_lock[inx]);
52
54
    _mi_search(info,info->s->keyinfo+inx,info->lastkey, USE_WHOLE_KEY,
53
55
               SEARCH_SAME,
54
56
               info->s->state.key_root[inx]);
 
57
    if (info->s->concurrent_insert)
 
58
      pthread_rwlock_unlock(&info->s->key_root_lock[inx]);
55
59
  }
56
60
 
57
61
  if (!(*info->read_record)(info,info->lastpos,record))