From 164d580fa6ddb79e138760eac609ad21abb193e8 Mon Sep 17 00:00:00 2001
From: marko <Unknown>
Date: Tue, 13 Jan 2009 10:34:32 +0000
Subject: [PATCH] branches/zip: Enable HASH_ASSERT_OWNED independently of
 UNIV_SYNC_DEBUG.

---
 include/hash0hash.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/include/hash0hash.h b/include/hash0hash.h
index cb88d53a56a..c3921a1d3c0 100644
--- a/include/hash0hash.h
+++ b/include/hash0hash.h
@@ -66,12 +66,8 @@ hash_calc_hash(
 	hash_table_t*	table);	/* in: hash table */
 /************************************************************************
 Assert that the mutex for the table in a hash operation is owned. */
-#ifdef UNIV_SYNC_DEBUG
-# define HASH_ASSERT_OWNED(TABLE, FOLD) \
+#define HASH_ASSERT_OWNED(TABLE, FOLD)					\
 ut_ad(!(TABLE)->mutexes || mutex_own(hash_get_mutex(TABLE, FOLD)));
-#else
-# define HASH_ASSERT_OWNED(TABLE, FOLD)
-#endif
 
 /***********************************************************************
 Inserts a struct to a hash table. */
-- 
2.30.9