changeset 4936:13f793a3051d HEAD

Removed debugging #if 0.
author Timo Sirainen <tss@iki.fi>
date Wed, 20 Dec 2006 17:17:32 +0200
parents f768dd773e6b
children 4936071e7a96
files src/lib-index/mail-hash.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/lib-index/mail-hash.c	Wed Dec 20 17:13:34 2006 +0200
+++ b/src/lib-index/mail-hash.c	Wed Dec 20 17:17:32 2006 +0200
@@ -1032,13 +1032,12 @@
 
 	i_assert(hash->locked);
 
-#if 0
 	nodes_per_list = (float)(hash->hdr->hashed_count + grow_count) /
 		(float)hash->hdr->hash_size;
 	if ((nodes_per_list > 0.3 && nodes_per_list < 2.0) ||
 	    hash->hdr->hash_size <= MAIL_HASH_MIN_SIZE)
 		return 0;
-#endif
+
 	/* create a temporary hash */
 	tmp_hash = mail_hash_open(hash->index,
 				  t_strconcat(hash->suffix, ".tmp", NULL),