Fix page spilling when MDB_WRITEMAP.
authorHallvard Furuseth <hallvard@openldap.org>
Thu, 8 Aug 2013 17:57:51 +0000 (19:57 +0200)
committerHallvard Furuseth <hallvard@openldap.org>
Thu, 8 Aug 2013 17:57:51 +0000 (19:57 +0200)
commitc3547e81f3fcefac2dc66f8dfff64025eb41cc36
tree3e02ffecbf6aa9b3176643f7bfaa1fbd187100a4
parentee5ba855651df54130a53daa8f5b638894343230
Fix page spilling when MDB_WRITEMAP.

mdb_page_spill(): Don't binary-search the unsorted dirty_list.
mdb_page_flush(): Don't overwrite unprocessed dirty_list items.
libraries/liblmdb/mdb.c