diff options
author | unknown <tsmith@siva.hindu.god> | 2007-01-05 16:05:48 -0700 |
---|---|---|
committer | unknown <tsmith@siva.hindu.god> | 2007-01-05 16:05:48 -0700 |
commit | 0e4155835c637c1c459cc9c77458e88ab4f27545 (patch) | |
tree | 0b356d21101dc7456df092ff091050ef621eefc0 /storage/innobase/include/hash0hash.h | |
parent | 0275fa0eb235e56af21282d43f2d9ed3bc4eee41 (diff) | |
parent | a5868736ff8c1c314e7c72a2fac9d138b69d56b1 (diff) | |
download | mariadb-git-0e4155835c637c1c459cc9c77458e88ab4f27545.tar.gz |
Merge siva.hindu.god:/home/tsmith/m/inno/jan04/51
into siva.hindu.god:/home/tsmith/m/bk/51-build
storage/innobase/buf/buf0buf.c:
Auto merged
storage/innobase/dict/dict0dict.c:
Auto merged
storage/innobase/ha/ha0ha.c:
Auto merged
storage/innobase/ha/hash0hash.c:
Auto merged
storage/innobase/include/hash0hash.h:
Auto merged
storage/innobase/lock/lock0lock.c:
Auto merged
storage/innobase/log/log0recv.c:
Auto merged
Diffstat (limited to 'storage/innobase/include/hash0hash.h')
-rw-r--r-- | storage/innobase/include/hash0hash.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/storage/innobase/include/hash0hash.h b/storage/innobase/include/hash0hash.h index 3685dbb1d82..efd9bcb4c54 100644 --- a/storage/innobase/include/hash0hash.h +++ b/storage/innobase/include/hash0hash.h @@ -31,12 +31,20 @@ hash0_create( Creates a mutex array to protect a hash table. */ void -hash_create_mutexes( -/*================*/ +hash_create_mutexes_func( +/*=====================*/ hash_table_t* table, /* in: hash table */ - ulint n_mutexes, /* in: number of mutexes */ - ulint sync_level); /* in: latching order level of the +#ifdef UNIV_SYNC_DEBUG + ulint sync_level, /* in: latching order level of the mutexes: used in the debug version */ +#endif /* UNIV_SYNC_DEBUG */ + ulint n_mutexes); /* in: number of mutexes */ +#ifdef UNIV_SYNC_DEBUG +# define hash_create_mutexes(t,n,level) hash_create_mutexes_func(t,level,n) +#else /* UNIV_SYNC_DEBUG */ +# define hash_create_mutexes(t,n,level) hash_create_mutexes_func(t,n) +#endif /* UNIV_SYNC_DEBUG */ + /***************************************************************** Frees a hash table. */ |