~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/mem/mem0dbg.c

  • Committer: Monty Taylor
  • Date: 2010-11-26 22:50:54 UTC
  • mfrom: (1953.1.6 build)
  • Revision ID: mordred@inaugust.com-20101126225054-sg90svw8579t5p3i
Stewart - InnoDB 1.1.1
Monty - Fixed some autoconf tests which were returning false positives.

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
/* The mutex which protects in the debug version the hash table
30
30
containing the list of live memory heaps, and also the global
31
31
variables below. */
32
 
UNIV_INTERN mutex_t     mem_hash_mutex;
 
32
UNIV_INTERN mutex_t             mem_hash_mutex;
 
33
 
 
34
#ifdef UNIV_PFS_MUTEX
 
35
/* Key to register mem_hash_mutex with performance schema */
 
36
UNIV_INTERN mysql_pfs_key_t     mem_hash_mutex_key;
 
37
#endif /* UNIV_PFS_MUTEX */
 
38
 
33
39
# endif /* !UNIV_HOTBACKUP */
34
40
 
35
41
/* The following variables contain information about the
149
155
        /* Initialize the hash table */
150
156
        ut_a(FALSE == mem_hash_initialized);
151
157
 
152
 
        mutex_create(&mem_hash_mutex, SYNC_MEM_HASH);
 
158
        mutex_create(mem_hash_mutex_key, &mem_hash_mutex, SYNC_MEM_HASH);
153
159
 
154
160
        for (i = 0; i < MEM_HASH_SIZE; i++) {
155
161
                UT_LIST_INIT(*mem_hash_get_nth_cell(i));