~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/myisam/ha_myisam.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:
533
533
                        const char *sfile, uint32_t sline)
534
534
{
535
535
  Session *cur_session;
536
 
  pthread_mutex_lock(&file->s->intern_lock);
537
536
  if ((cur_session= file->in_use))
538
537
    errmsg_printf(ERRMSG_LVL_ERROR, _("Got an error from thread_id=%"PRIu64", %s:%d"),
539
538
                    cur_session->thread_id,
548
547
    errmsg_printf(ERRMSG_LVL_ERROR, "%s", _("Unknown thread accessing table"));
549
548
    ++it;
550
549
  }
551
 
  pthread_mutex_unlock(&file->s->intern_lock);
552
550
}
553
551
 
554
552
ha_myisam::ha_myisam(plugin::StorageEngine &engine_arg,