Skip to content
Snippets Groups Projects
Commit df31c884 authored by Howard Chu's avatar Howard Chu
Browse files

Free main-thread keys in db_close, can't do it later because the env

will be gone.
parent ba68a94f
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment