1LMDB 0.9 Change Log 2 3LMDB 0.9.24 Release (2019/07/24) 4 ITS#8969 Tweak mdb_page_split 5 ITS#8975 WIN32 fix writemap set_mapsize crash 6 ITS#9007 Fix loose pages in WRITEMAP 7 8LMDB 0.9.23 Release (2018/12/19) 9 ITS#8756 Fix loose pages in dirty list 10 ITS#8831 Fix mdb_load flag init 11 ITS#8844 Fix mdb_env_close in forked process 12 Documentation 13 ITS#8857 mdb_cursor_del doesn't invalidate cursor 14 ITS#8908 GET_MULTIPLE etc don't change passed in key 15 16LMDB 0.9.22 Release (2018/03/22) 17 Fix MDB_DUPSORT alignment bug (ITS#8819) 18 Fix regression with new db from 0.9.19 (ITS#8760) 19 Fix liblmdb to build on Solaris (ITS#8612) 20 Fix delete behavior with DUPSORT DB (ITS#8622) 21 Fix mdb_cursor_get/mdb_cursor_del behavior (ITS#8722) 22 23LMDB 0.9.21 Release (2017/06/01) 24 Fix xcursor after cursor_del (ITS#8622) 25 26LMDB 0.9.20 (Withdrawn) 27 Fix mdb_load with escaped plaintext (ITS#8558) 28 Fix mdb_cursor_last / mdb_put interaction (ITS#8557) 29 30LMDB 0.9.19 Release (2016/12/28) 31 Fix mdb_env_cwalk cursor init (ITS#8424) 32 Fix robust mutexes on Solaris 10/11 (ITS#8339) 33 Tweak Win32 error message buffer 34 Fix MDB_GET_BOTH on non-dup record (ITS#8393) 35 Optimize mdb_drop 36 Fix xcursors after mdb_cursor_del (ITS#8406) 37 Fix MDB_NEXT_DUP after mdb_cursor_del (ITS#8412) 38 Fix mdb_cursor_put resetting C_EOF (ITS#8489) 39 Fix mdb_env_copyfd2 to return EPIPE on SIGPIPE (ITS#8504) 40 Fix mdb_env_copy with empty DB (ITS#8209) 41 Fix behaviors with fork (ITS#8505) 42 Fix mdb_dbi_open with mainDB cursors (ITS#8542) 43 Fix robust mutexes on kFreeBSD (ITS#8554) 44 Fix utf8_to_utf16 error checks (ITS#7992) 45 Fix F_NOCACHE on MacOS, error is non-fatal (ITS#7682) 46 Build 47 Make shared lib suffix overridable (ITS#8481) 48 Documentation 49 Cleanup doxygen nits 50 Note reserved vs actual mem/disk usage 51 52 53LMDB 0.9.18 Release (2016/02/05) 54 Fix robust mutex detection on glibc 2.10-11 (ITS#8330) 55 Fix page_search_root assert on FreeDB (ITS#8336) 56 Fix MDB_APPENDDUP vs. rewrite(single item) (ITS#8334) 57 Fix mdb_copy of large files on Windows 58 Fix subcursor move after delete (ITS#8355) 59 Fix mdb_midl_shirnk off-by-one (ITS#8363) 60 Check for utf8_to_utf16 failures (ITS#7992) 61 Catch strdup failure in mdb_dbi_open 62 Build 63 Additional makefile var tweaks (ITS#8169) 64 Documentation 65 Add Getting Started page 66 Update WRITEMAP description 67 68 69LMDB 0.9.17 Release (2015/11/30) 70 Fix ITS#7377 catch calloc failure 71 Fix ITS#8237 regression from ITS#7589 72 Fix ITS#8238 page_split for DUPFIXED pages 73 Fix ITS#8221 MDB_PAGE_FULL on delete/rebalance 74 Fix ITS#8258 rebalance/split assert 75 Fix ITS#8263 cursor_put cursor tracking 76 Fix ITS#8264 cursor_del cursor tracking 77 Fix ITS#8310 cursor_del cursor tracking 78 Fix ITS#8299 mdb_del cursor tracking 79 Fix ITS#8300 mdb_del cursor tracking 80 Fix ITS#8304 mdb_del cursor tracking 81 Fix ITS#7771 fakepage cursor tracking 82 Fix ITS#7789 ensure mapsize >= pages in use 83 Fix ITS#7971 mdb_txn_renew0() new reader slots 84 Fix ITS#7969 use __sync_synchronize on non-x86 85 Fix ITS#8311 page_split from update_key 86 Fix ITS#8312 loose pages in nested txn 87 Fix ITS#8313 mdb_rebalance dummy cursor 88 Fix ITS#8315 dirty_room in nested txn 89 Fix ITS#8323 dirty_list in nested txn 90 Fix ITS#8316 page_merge cursor tracking 91 Fix ITS#8321 cursor tracking 92 Fix ITS#8319 mdb_load error messages 93 Fix ITS#8320 mdb_load plaintext input 94 Added mdb_txn_id() (ITS#7994) 95 Added robust mutex support 96 Miscellaneous cleanup/simplification 97 Build 98 Create install dirs if needed (ITS#8256) 99 Fix ThreadProc decl on Win32/MSVC (ITS#8270) 100 Added ssize_t typedef for MSVC (ITS#8067) 101 Use ANSI apis on Windows (ITS#8069) 102 Use O_SYNC if O_DSYNC,MDB_DSYNC are not defined (ITS#7209) 103 Allow passing AR to make (ITS#8168) 104 Allow passing mandir to make install (ITS#8169) 105 106LMDB 0.9.16 Release (2015/08/14) 107 Fix cursor EOF bug (ITS#8190) 108 Fix handling of subDB records (ITS#8181) 109 Fix mdb_midl_shrink() usage (ITS#8200) 110 111LMDB 0.9.15 Release (2015/06/19) 112 Fix txn init (ITS#7961,#7987) 113 Fix MDB_PREV_DUP (ITS#7955,#7671) 114 Fix compact of empty env (ITS#7956) 115 Fix mdb_copy file mode 116 Fix mdb_env_close() after failed mdb_env_open() 117 Fix mdb_rebalance collapsing root (ITS#8062) 118 Fix mdb_load with large values (ITS#8066) 119 Fix to retry writes on EINTR (ITS#8106) 120 Fix mdb_cursor_del on empty DB (ITS#8109) 121 Fix MDB_INTEGERDUP key compare (ITS#8117) 122 Fix error handling (ITS#7959,#8157,etc.) 123 Fix race conditions (ITS#7969,7970) 124 Added workaround for fdatasync bug in ext3fs 125 Build 126 Don't use -fPIC for static lib 127 Update .gitignore (ITS#7952,#7953) 128 Cleanup for "make test" (ITS#7841), "make clean", mtest*.c 129 Misc. Android/Windows cleanup 130 Documentation 131 Fix MDB_APPEND doc 132 Fix MDB_MAXKEYSIZE doc (ITS#8156) 133 Fix mdb_cursor_put,mdb_cursor_del EACCES description 134 Fix mdb_env_sync(MDB_RDONLY env) doc (ITS#8021) 135 Clarify MDB_WRITEMAP doc (ITS#8021) 136 Clarify mdb_env_open doc 137 Clarify mdb_dbi_open doc 138 139LMDB 0.9.14 Release (2014/09/20) 140 Fix to support 64K page size (ITS#7713) 141 Fix to persist decreased as well as increased mapsizes (ITS#7789) 142 Fix cursor bug when deleting last node of a DUPSORT key 143 Fix mdb_env_info to return FIXEDMAP address 144 Fix ambiguous error code from writing to closed DBI (ITS#7825) 145 Fix mdb_copy copying past end of file (ITS#7886) 146 Fix cursor bugs from page_merge/rebalance 147 Fix to dirty fewer pages in deletes (mdb_page_loose()) 148 Fix mdb_dbi_open creating subDBs (ITS#7917) 149 Fix mdb_cursor_get(_DUP) with single value (ITS#7913) 150 Fix Windows compat issues in mtests (ITS#7879) 151 Add compacting variant of mdb_copy 152 Add BigEndian integer key compare code 153 Add mdb_dump/mdb_load utilities 154 155LMDB 0.9.13 Release (2014/06/18) 156 Fix mdb_page_alloc unlimited overflow page search 157 Documentation 158 Re-fix MDB_CURRENT doc (ITS#7793) 159 Fix MDB_GET_MULTIPLE/MDB_NEXT_MULTIPLE doc 160 161LMDB 0.9.12 Release (2014/06/13) 162 Fix MDB_GET_BOTH regression (ITS#7875,#7681) 163 Fix MDB_MULTIPLE writing multiple keys (ITS#7834) 164 Fix mdb_rebalance (ITS#7829) 165 Fix mdb_page_split (ITS#7815) 166 Fix md_entries count (ITS#7861,#7828,#7793) 167 Fix MDB_CURRENT (ITS#7793) 168 Fix possible crash on Windows DLL detach 169 Misc code cleanup 170 Documentation 171 mdb_cursor_put: cursor moves on error (ITS#7771) 172 173 174LMDB 0.9.11 Release (2014/01/15) 175 Add mdb_env_set_assert() (ITS#7775) 176 Fix: invalidate txn on page allocation errors (ITS#7377) 177 Fix xcursor tracking in mdb_cursor_del0() (ITS#7771) 178 Fix corruption from deletes (ITS#7756) 179 Fix Windows/MSVC build issues 180 Raise safe limit of max MDB_MAXKEYSIZE 181 Misc code cleanup 182 Documentation 183 Remove spurious note about non-overlapping flags (ITS#7665) 184 185LMDB 0.9.10 Release (2013/11/12) 186 Add MDB_NOMEMINIT option 187 Fix mdb_page_split() again (ITS#7589) 188 Fix MDB_NORDAHEAD definition (ITS#7734) 189 Fix mdb_cursor_del() positioning (ITS#7733) 190 Partial fix for larger page sizes (ITS#7713) 191 Fix Windows64/MSVC build issues 192 193LMDB 0.9.9 Release (2013/10/24) 194 Add mdb_env_get_fd() 195 Add MDB_NORDAHEAD option 196 Add MDB_NOLOCK option 197 Avoid wasting space in mdb_page_split() (ITS#7589) 198 Fix mdb_page_merge() cursor fixup (ITS#7722) 199 Fix mdb_cursor_del() on last delete (ITS#7718) 200 Fix adding WRITEMAP on existing env (ITS#7715) 201 Fix nested txns (ITS#7515) 202 Fix mdb_env_copy() O_DIRECT bug (ITS#7682) 203 Fix mdb_cursor_set(SET_RANGE) return code (ITS#7681) 204 Fix mdb_rebalance() cursor fixup (ITS#7701) 205 Misc code cleanup 206 Documentation 207 Note that by default, readers need write access 208 209 210LMDB 0.9.8 Release (2013/09/09) 211 Allow mdb_env_set_mapsize() on an open environment 212 Fix mdb_dbi_flags() (ITS#7672) 213 Fix mdb_page_unspill() in nested txns 214 Fix mdb_cursor_get(CURRENT|NEXT) after a delete 215 Fix mdb_cursor_get(DUP) to always return key (ITS#7671) 216 Fix mdb_cursor_del() to always advance to next item (ITS#7670) 217 Fix mdb_cursor_set(SET_RANGE) for tree with single page (ITS#7681) 218 Fix mdb_env_copy() retry open if O_DIRECT fails (ITS#7682) 219 Tweak mdb_page_spill() to be less aggressive 220 Documentation 221 Update caveats since mdb_reader_check() added in 0.9.7 222 223LMDB 0.9.7 Release (2013/08/17) 224 Don't leave stale lockfile on failed RDONLY open (ITS#7664) 225 Fix mdb_page_split() ref beyond cursor depth 226 Fix read txn data race (ITS#7635) 227 Fix mdb_rebalance (ITS#7536, #7538) 228 Fix mdb_drop() (ITS#7561) 229 Misc DEBUG macro fixes 230 Add MDB_NOTLS envflag 231 Add mdb_env_copyfd() 232 Add mdb_txn_env() (ITS#7660) 233 Add mdb_dbi_flags() (ITS#7661) 234 Add mdb_env_get_maxkeysize() 235 Add mdb_env_reader_list()/mdb_env_reader_check() 236 Add mdb_page_spill/unspill, remove hard txn size limit 237 Use shorter names for semaphores (ITS#7615) 238 Build 239 Fix install target (ITS#7656) 240 Documentation 241 Misc updates for cursors, DB handles, data lifetime 242 243LMDB 0.9.6 Release (2013/02/25) 244 Many fixes/enhancements 245 246LMDB 0.9.5 Release (2012/11/30) 247 Renamed from libmdb to liblmdb 248 Many fixes/enhancements 249