From: Howard Chu Date: Thu, 25 Jan 2007 12:24:52 +0000 (+0000) Subject: Free main-thread keys in db_close, can't do it later because the env X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~134 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=df31c884b4b088420861199274e92926ad42f960;p=openldap Free main-thread keys in db_close, can't do it later because the env will be gone. --- diff --git a/servers/slapd/back-bdb/proto-bdb.h b/servers/slapd/back-bdb/proto-bdb.h index 34862d3190..5e28fddbff 100644 --- a/servers/slapd/back-bdb/proto-bdb.h +++ b/servers/slapd/back-bdb/proto-bdb.h @@ -585,7 +585,9 @@ int bdb_cache_entry_db_unlock( #ifdef BDB_REUSE_LOCKERS #define bdb_locker_id BDB_SYMBOL(locker_id) +#define bdb_locker_flush BDB_SYMBOL(locker_flush) int bdb_locker_id( Operation *op, DB_ENV *env, u_int32_t *locker ); +void bdb_locker_flush( DB_ENV *env ); #define LOCK_ID_FREE(env, locker) ((void)0) #define LOCK_ID(env, locker) bdb_locker_id(op, env, locker)