Factor out mdb_find_oldest,mdb_dlist_free,dirty_list.
authorHallvard Furuseth <hallvard@openldap.org>
Tue, 21 May 2013 21:55:13 +0000 (23:55 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Tue, 21 May 2013 21:55:13 +0000 (23:55 +0200)
commitfeaeab0c0488ba60f4b2b1a901cb685df0c5cf01
tree72f732414b467c3552d8e88aeb9b5eaec8a75419
parent5ea1cd8f6d083095cf4f20b802cea90441cea03a
Factor out mdb_find_oldest,mdb_dlist_free,dirty_list.

Do not rescan reader table (mdb_find_oldest) after "goto again".
Skip clearing dirty_list[nonzero].mid in mdb_dlist_free(); it
was not done in mdb_reset0() anyway.
libraries/liblmdb/mdb.c