~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Andrew Hutchings
  • Date: 2011-01-04 11:36:01 UTC
  • mto: This revision was merged to the branch mainline in revision 2057.
  • Revision ID: andrew@linuxjedi.co.uk-20110104113601-diiveyfl32dgaa6f
Refix using placement new for join code, vector for join cache buffer.
Also refix a bug in COND_CMP properly

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