~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_base.cc

  • Committer: Brian Aker
  • Date: 2010-09-28 00:51:44 UTC
  • mto: (1800.1.4 build)
  • mto: This revision was merged to the branch mainline in revision 1801.
  • Revision ID: brian@tangent.org-20100928005144-a5m5yb9dj2vn3pn8
Refactor out old call for pthread native usage.

Show diffs side-by-side

added added

removed removed

Lines of Context:
962
962
    mutex is unlocked
963
963
  */
964
964
 
965
 
  pthread_mutex_unlock(mutex.native_handle());
 
965
  mutex.unlock();
966
966
  boost::mutex::scoped_lock (mysys_var->mutex);
967
967
  mysys_var->current_mutex= 0;
968
968
  mysys_var->current_cond= 0;