~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/os/os0sync.cc

  • Committer: Brian Aker
  • Date: 2011-01-24 23:10:42 UTC
  • mto: This revision was merged to the branch mainline in revision 2113.
  • Revision ID: brian@tangent.org-20110124231042-hg2zx5cq1angsgjy
Minor cleanup, drop one of two needs for current session during parsing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
877
877
 
878
878
        InitializeCriticalSection((LPCRITICAL_SECTION) fast_mutex);
879
879
#else
880
 
        ut_a(0 == pthread_mutex_init(fast_mutex, NULL));
 
880
        ut_a(0 == innobase_fast_mutex_init(fast_mutex));
881
881
#endif
882
882
        if (UNIV_LIKELY(os_sync_mutex_inited)) {
883
883
                /* When creating os_sync_mutex itself (in Unix) we cannot