CHANGES 5.78 KB
Newer Older
Howard Chu's avatar
Howard Chu committed
1
2
LMDB 0.9 Change Log

Howard Chu's avatar
Howard Chu committed
3
LMDB 0.9.17 Release Engineering
Howard Chu's avatar
Howard Chu committed
4
5
	Fix ITS#7377 catch calloc failure
	Fix ITS#8237 regression from ITS#7589
Howard Chu's avatar
Howard Chu committed
6
	Fix ITS#8238 page_split for DUPFIXED pages
Howard Chu's avatar
Howard Chu committed
7
	Fix ITS#8221 MDB_PAGE_FULL on delete/rebalance
Howard Chu's avatar
Howard Chu committed
8
	Fix ITS#8258 rebalance/split assert
Howard Chu's avatar
Howard Chu committed
9
	Fix ITS#8263 cursor_put cursor tracking
Howard Chu's avatar
Howard Chu committed
10
11
	Fix ITS#8264 cursor_del cursor tracking
	Fix ITS#8299 mdb_del cursor tracking
Howard Chu's avatar
Howard Chu committed
12
	Fix ITS#8300 mdb_del cursor tracking
Howard Chu's avatar
Howard Chu committed
13
	Fix ITS#8304 mdb_del cursor tracking
Howard Chu's avatar
Howard Chu committed
14
	Fix ITS#7771 fakepage cursor tracking
Howard Chu's avatar
Howard Chu committed
15
16
17
18
19
20
	Fix ITS#7789 ensure mapsize >= pages in use
	Fix ITS#7971 mdb_txn_renew0() new reader slots
	Fix ITS#7969 use __sync_synchronize on non-x86
	Added mdb_txn_id() (ITS#7994)
	Added robust mutex support
	Miscellaneous cleanup/simplification
Howard Chu's avatar
Howard Chu committed
21
22
	Build
		Create install dirs if needed (ITS#8256)
Howard Chu's avatar
Howard Chu committed
23
		Fix ThreadProc decl on Win32/MSVC (ITS#8270)
Howard Chu's avatar
Howard Chu committed
24
25
		Added ssize_t typedef for MSVC (ITS#8067)
		Use ANSI apis on Windows (ITS#8069)
Howard Chu's avatar
Howard Chu committed
26

Howard Chu's avatar
Howard Chu committed
27
LMDB 0.9.16 Release (2015/08/14)
28
29
30
	Fix cursor EOF bug (ITS#8190)
	Fix handling of subDB records (ITS#8181)
	Fix mdb_midl_shrink() usage (ITS#8200)
Howard Chu's avatar
Howard Chu committed
31

Howard Chu's avatar
Howard Chu committed
32
LMDB 0.9.15 Release (2015/06/19)
Howard Chu's avatar
Howard Chu committed
33
34
35
	Fix txn init (ITS#7961,#7987)
	Fix MDB_PREV_DUP (ITS#7955,#7671)
	Fix compact of empty env (ITS#7956)
Hallvard Furuseth's avatar
Hallvard Furuseth committed
36
37
	Fix mdb_copy file mode
	Fix mdb_env_close() after failed mdb_env_open()
Howard Chu's avatar
Howard Chu committed
38
	Fix mdb_rebalance collapsing root (ITS#8062)
Quanah Gibson-Mount's avatar
Quanah Gibson-Mount committed
39
	Fix mdb_load with large values (ITS#8066)
Howard Chu's avatar
Howard Chu committed
40
	Fix to retry writes on EINTR (ITS#8106)
Howard Chu's avatar
Howard Chu committed
41
	Fix mdb_cursor_del on empty DB (ITS#8109)
Howard Chu's avatar
Howard Chu committed
42
	Fix MDB_INTEGERDUP key compare (ITS#8117)
Hallvard Furuseth's avatar
Hallvard Furuseth committed
43
44
	Fix error handling (ITS#7959,#8157,etc.)
	Fix race conditions (ITS#7969,7970)
Howard Chu's avatar
Howard Chu committed
45
	Added workaround for fdatasync bug in ext3fs
Howard Chu's avatar
Howard Chu committed
46
47
48
	Build
		Don't use -fPIC for static lib
		Update .gitignore (ITS#7952,#7953)
Hallvard Furuseth's avatar
Hallvard Furuseth committed
49
		Cleanup for "make test" (ITS#7841), "make clean", mtest*.c
Howard Chu's avatar
Howard Chu committed
50
51
52
		Misc. Android/Windows cleanup
	Documentation
		Fix MDB_APPEND doc
Hallvard Furuseth's avatar
Hallvard Furuseth committed
53
		Fix MDB_MAXKEYSIZE doc (ITS#8156)
Hallvard Furuseth's avatar
Hallvard Furuseth committed
54
55
56
		Fix mdb_cursor_put,mdb_cursor_del EACCES description
		Fix mdb_env_sync(MDB_RDONLY env) doc (ITS#8021)
		Clarify MDB_WRITEMAP doc (ITS#8021)
Hallvard Furuseth's avatar
Hallvard Furuseth committed
57
		Clarify mdb_env_open doc
Howard Chu's avatar
Howard Chu committed
58
59
		Clarify mdb_dbi_open doc

Howard Chu's avatar
Howard Chu committed
60
LMDB 0.9.14 Release (2014/09/20)
Howard Chu's avatar
Howard Chu committed
61
	Fix to support 64K page size (ITS#7713)
Howard Chu's avatar
Howard Chu committed
62
	Fix to persist decreased as well as increased mapsizes (ITS#7789)
Howard Chu's avatar
Howard Chu committed
63
64
	Fix cursor bug when deleting last node of a DUPSORT key
	Fix mdb_env_info to return FIXEDMAP address
Howard Chu's avatar
Howard Chu committed
65
	Fix ambiguous error code from writing to closed DBI (ITS#7825)
Howard Chu's avatar
Howard Chu committed
66
67
	Fix mdb_copy copying past end of file (ITS#7886)
	Fix cursor bugs from page_merge/rebalance
Howard Chu's avatar
Typo    
Howard Chu committed
68
	Fix to dirty fewer pages in deletes (mdb_page_loose())
Howard Chu's avatar
Howard Chu committed
69
	Fix mdb_dbi_open creating subDBs (ITS#7917)
Howard Chu's avatar
Howard Chu committed
70
	Fix mdb_cursor_get(_DUP) with single value (ITS#7913)
Howard Chu's avatar
Howard Chu committed
71
72
73
74
75
	Fix Windows compat issues in mtests (ITS#7879)
	Add compacting variant of mdb_copy
	Add BigEndian integer key compare code
	Add mdb_dump/mdb_load utilities

Howard Chu's avatar
Howard Chu committed
76
77
78
79
80
81
LMDB 0.9.13 Release (2014/06/18)
	Fix mdb_page_alloc unlimited overflow page search
	Documentation
		Re-fix MDB_CURRENT doc (ITS#7793)
		Fix MDB_GET_MULTIPLE/MDB_NEXT_MULTIPLE doc

Howard Chu's avatar
Howard Chu committed
82
83
84
85
86
87
88
89
90
91
92
93
94
LMDB 0.9.12 Release (2014/06/13)
	Fix MDB_GET_BOTH regression (ITS#7875,#7681)
	Fix MDB_MULTIPLE writing multiple keys (ITS#7834)
	Fix mdb_rebalance (ITS#7829)
	Fix mdb_page_split (ITS#7815)
	Fix md_entries count (ITS#7861,#7828,#7793)
	Fix MDB_CURRENT (ITS#7793)
	Fix possible crash on Windows DLL detach
	Misc code cleanup
	Documentation
		mdb_cursor_put: cursor moves on error (ITS#7771)


Howard Chu's avatar
Howard Chu committed
95
96
97
98
99
100
101
102
103
104
105
LMDB 0.9.11 Release (2014/01/15)
	Add mdb_env_set_assert() (ITS#7775)
	Fix: invalidate txn on page allocation errors (ITS#7377)
	Fix xcursor tracking in mdb_cursor_del0() (ITS#7771)
	Fix corruption from deletes (ITS#7756)
	Fix Windows/MSVC build issues
	Raise safe limit of max MDB_MAXKEYSIZE
	Misc code cleanup
	Documentation
		Remove spurious note about non-overlapping flags (ITS#7665)

Howard Chu's avatar
Howard Chu committed
106
107
108
109
110
111
112
113
LMDB 0.9.10 Release (2013/11/12)
	Add MDB_NOMEMINIT option
	Fix mdb_page_split() again (ITS#7589)
	Fix MDB_NORDAHEAD definition (ITS#7734)
	Fix mdb_cursor_del() positioning (ITS#7733)
	Partial fix for larger page sizes (ITS#7713)
	Fix Windows64/MSVC build issues

Howard Chu's avatar
Howard Chu committed
114
115
116
117
118
119
120
121
LMDB 0.9.9 Release (2013/10/24)
	Add mdb_env_get_fd()
	Add MDB_NORDAHEAD option
	Add MDB_NOLOCK option
	Avoid wasting space in mdb_page_split() (ITS#7589)
	Fix mdb_page_merge() cursor fixup (ITS#7722)
	Fix mdb_cursor_del() on last delete (ITS#7718)
	Fix adding WRITEMAP on existing env (ITS#7715)
Hallvard Furuseth's avatar
Hallvard Furuseth committed
122
	Fix nested txns (ITS#7515)
Howard Chu's avatar
Howard Chu committed
123
124
125
126
127
128
129
130
	Fix mdb_env_copy() O_DIRECT bug (ITS#7682)
	Fix mdb_cursor_set(SET_RANGE) return code (ITS#7681)
	Fix mdb_rebalance() cursor fixup (ITS#7701)
	Misc code cleanup
	Documentation
		Note that by default, readers need write access


Howard Chu's avatar
Howard Chu committed
131
LMDB 0.9.8 Release (2013/09/09)
Howard Chu's avatar
Howard Chu committed
132
133
134
	Allow mdb_env_set_mapsize() on an open environment
	Fix mdb_dbi_flags() (ITS#7672)
	Fix mdb_page_unspill() in nested txns
Howard Chu's avatar
updates    
Howard Chu committed
135
	Fix mdb_cursor_get(CURRENT|NEXT) after a delete
Howard Chu's avatar
Howard Chu committed
136
137
	Fix mdb_cursor_get(DUP) to always return key (ITS#7671)
	Fix mdb_cursor_del() to always advance to next item (ITS#7670)
Howard Chu's avatar
updates    
Howard Chu committed
138
139
	Fix mdb_cursor_set(SET_RANGE) for tree with single page (ITS#7681)
	Fix mdb_env_copy() retry open if O_DIRECT fails (ITS#7682)
Howard Chu's avatar
Howard Chu committed
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
	Tweak mdb_page_spill() to be less aggressive
	Documentation
		Update caveats since mdb_reader_check() added in 0.9.7

LMDB 0.9.7 Release (2013/08/17)
	Don't leave stale lockfile on failed RDONLY open (ITS#7664)
	Fix mdb_page_split() ref beyond cursor depth
	Fix read txn data race (ITS#7635)
	Fix mdb_rebalance (ITS#7536, #7538)
	Fix mdb_drop() (ITS#7561)
	Misc DEBUG macro fixes
	Add MDB_NOTLS envflag
	Add mdb_env_copyfd()
	Add mdb_txn_env() (ITS#7660)
	Add mdb_dbi_flags() (ITS#7661)
	Add mdb_env_get_maxkeysize()
	Add mdb_env_reader_list()/mdb_env_reader_check()
	Add mdb_page_spill/unspill, remove hard txn size limit
	Use shorter names for semaphores (ITS#7615)
	Build
		Fix install target (ITS#7656)
	Documentation
		Misc updates for cursors, DB handles, data lifetime

LMDB 0.9.6 Release (2013/02/25)
	Many fixes/enhancements

LMDB 0.9.5 Release (2012/11/30)
	Renamed from libmdb to liblmdb
	Many fixes/enhancements