From: Howard Chu Date: Thu, 1 May 2008 23:02:52 +0000 (+0000) Subject: Cleanup extra debug in prev commit X-Git-Tag: LOCKER_IDS~184 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=26172674b572184cf853bb6a2a374c5f6dfdba16;p=openldap Cleanup extra debug in prev commit --- diff --git a/servers/slapd/back-bdb/cache.c b/servers/slapd/back-bdb/cache.c index 8351252587..edf73ab28c 100644 --- a/servers/slapd/back-bdb/cache.c +++ b/servers/slapd/back-bdb/cache.c @@ -174,8 +174,6 @@ bdb_cache_entry_db_relock( if ( !lock ) return 0; -Debug( LDAP_DEBUG_TRACE, "bdb_cache_entry_dn_relock: lock %p locker %d\n", lock,locker,0 ); - lockobj.data = &ei->bei_id; lockobj.size = sizeof(ei->bei_id) + 1; @@ -212,8 +210,6 @@ bdb_cache_entry_db_lock( struct bdb_info *bdb, BDB_LOCKER locker, EntryInfo *ei, if ( !lock ) return 0; -Debug( LDAP_DEBUG_TRACE, "bdb_cache_entry_db_lock: lock %p locker %d\n", lock,locker,0 ); - if (rw) db_rw = DB_LOCK_WRITE; else @@ -243,8 +239,6 @@ bdb_cache_entry_db_unlock ( struct bdb_info *bdb, DB_LOCK *lock ) if ( !lock || lock->mode == DB_LOCK_NG ) return 0; -Debug( LDAP_DEBUG_TRACE, "bdb_cache_entry_db_unlock: lock %p\n", lock,0,0 ); - rc = LOCK_PUT ( bdb->bi_dbenv, lock ); return rc; #endif