Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						6d2914c99b 
					 
					
						
						
							
							mdbx: minor/insignificant fix checking mdbx_rdt_lock() result for cases mutex-recovery after EOWNERDEAD.  
						
						... 
						
						
						
						Change-Id: Ia5e13ea0d72afc97f7d678832a765a192dfacdff 
						
						
					 
					
						2020-11-25 17:55:29 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						2a740d3807 
					 
					
						
						
							
							mdbx-windows: fix ERROR_NOT_SUPPORTED while opening UNC pathnames.  
						
						... 
						
						
						
						Resolve https://github.com/miranda-ng/miranda-ng/issues/2627 
Change-Id: Iec06554dfcb9e0db215662d93fb5824cfe9ac7ef 
						
						
					 
					
						2020-11-24 15:53:14 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						23fd4444b5 
					 
					
						
						
							
							mdbx-windows: remap whole section for mmap-resize if NtExtendSection() not available (Wine).  
						
						... 
						
						
						
						Some workaround for https://github.com/miranda-ng/miranda-ng/issues/1209 
Change-Id: I8ce3cb0fb8bdc9bd36a05ab53343efbe4080d1f3 
						
						
					 
					
						2020-11-23 10:47:07 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						ddee04d991 
					 
					
						
						
							
							mdbx: set DXB/LCK files position outside of a data.  
						
						... 
						
						
						
						Set the position in files outside of the data to avoid corruption
due to erroneous use of file descriptors in the application code.
Change-Id: I8750f6e726edaddee254885756d5f91576a6bcb1 
						
						
					 
					
						2020-11-23 09:25:24 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						f76bf72021 
					 
					
						
						
							
							mdbx-windows: retry resize-mmap always with reservation (less chance to failure).  
						
						... 
						
						
						
						Change-Id: I472651f6906b88ba674868e0cd6c81318bfc255b 
						
						
					 
					
						2020-11-20 11:52:44 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						537e3d18ae 
					 
					
						
						
							
							mdbx: minor clarify mmap-resize logging.  
						
						... 
						
						
						
						Change-Id: Ibb6e4b8ee84d03a22ad0e0d1b437989739d43bb9 
						
						
					 
					
						2020-11-20 10:38:04 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						1bbf20bf39 
					 
					
						
						
							
							mdbx: refine multi-thread flipping of buffers during env-copy.  
						
						... 
						
						
						
						Change-Id: Id132c1af0e1131da70ab1b35bce9f6a6548edbe3 
						
						
					 
					
						2020-11-19 11:59:42 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						9054b25441 
					 
					
						
						
							
							mdbx: fix fast completion of nested txn for case ones was open present DBIs.  
						
						... 
						
						
						
						Change-Id: I87d28d1da5f72cc7ad77f8dd3f9a181f7eaa0024 
						
						
					 
					
						2020-11-19 09:26:33 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						862cfb9a3b 
					 
					
						
						
							
							mdbx-windows: refine WSL1 detection.  
						
						... 
						
						
						
						Try to fix https://github.com/snej/nimdbx/issues/1 
Change-Id: Iec1c77c82ced8095e3f4e03a27a58e0bba3df76b 
						
						
					 
					
						2020-11-18 22:38:26 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						26767a5e06 
					 
					
						
						
							
							mdbx: relax big-page size checking for compatibility.  
						
						... 
						
						
						
						i.e. allow an overflow page be larger than required by placed data. 
						
						
					 
					
						2020-11-18 03:42:05 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						96c2a56aa1 
					 
					
						
						
							
							mdbx: use MDBX_SET_LOWERBOUND in mdbx_get_equal_or_great().  
						
						... 
						
						
						
						Change-Id: I5dd72fe82bd15938afc60cbc0f92e23c00f0d344 
						
						
					 
					
						2020-11-17 08:13:46 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						5e02e7fb56 
					 
					
						
						
							
							mdbx: add MDBX_SET_LOWERBOUND for mdbx_cursor_get().  
						
						... 
						
						
						
						Change-Id: I3638fdd10be8dfe128c43b465e9ca71f89175b3e 
						
						
					 
					
						2020-11-17 08:13:46 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						9ea6922a2f 
					 
					
						
						
							
							mdbx: minor simplify mdbx_cursor_set().  
						
						... 
						
						
						
						Change-Id: I034f396368024af21e8ee741c13a28c9bc277121 
						
						
					 
					
						2020-11-17 07:59:51 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						56a52b0b01 
					 
					
						
						
							
							mdbx: merge branch 'fix-131' (early part) into devel.  
						
						... 
						
						
						
						Change-Id: I0df5ffa9f06da1196a60d5a7c68fed59b7027e4c 
						
						
					 
					
						2020-11-16 07:07:53 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						149b3d09e6 
					 
					
						
						
							
							mdbx: don't export DBIs from nested txn.  
						
						... 
						
						
						
						Change-Id: I8c354ac7f889debe2fcf830263cb060253887652 
						
						
					 
					
						2020-11-16 07:07:39 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						1c925a0f2e 
					 
					
						
						
							
							mdbx: minor fix/avoid assertion inside mdbx_cursor_set().  
						
						... 
						
						
						
						Change-Id: I2cc38da698765b3eaa2bb575e16505d5d9438431 
						
						
					 
					
						2020-11-16 07:07:39 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						0c3deac9db 
					 
					
						
						
							
							mdbx: fix cursors-EOF after search.  
						
						... 
						
						
						
						Change-Id: Ie578611b64cca8dbcc00f958510143e8d1dc262a 
						
						
					 
					
						2020-11-16 07:07:39 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						21bbba82fb 
					 
					
						
						
							
							mdbx: minor fix cursor_on_first/last for empty sub-db.  
						
						... 
						
						
						
						Change-Id: I68c2e1bd28e62c9512bf8ef711fe21573e3450b9 
						
						
					 
					
						2020-11-16 07:07:39 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						4ea2bea22e 
					 
					
						
						
							
							mdbx: fix save/restore/commit cursors for nested txn.  
						
						... 
						
						
						
						Change-Id: Ibaf356bbc631ca2e41058787bd3e4aaaa8bc085a 
						
						
					 
					
						2020-11-16 07:07:38 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						e328c1f829 
					 
					
						
						
							
							mdbx: refactor/move mdbx_cursor_count().  
						
						... 
						
						
						
						Change-Id: I5487342013dfc3a9cf12d9081471ace0c37de23d 
						
						
					 
					
						2020-11-16 07:07:38 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						ca115dd6a4 
					 
					
						
						
							
							mdbx: refactor/rename/refine tw.cursors internals.  
						
						... 
						
						
						
						Change-Id: Ie46d15f52a9d7365b52534a630754a31d3005a69 
						
						
					 
					
						2020-11-16 07:07:38 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						9a2dbb845c 
					 
					
						
						
							
							mdbx: refactor/refine cursor next/prev.  
						
						... 
						
						
						
						Change-Id: I0bfe0fed62e137e933027ba90cec23dbf1a6310b 
						
						
					 
					
						2020-11-16 07:07:38 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						5f09ec73c9 
					 
					
						
						
							
							mdbx: return MDBX_ENODATA instead of MDBX_EINVAL for non-positioned/EOF cursor and MDBX_GET_CURRENT.  
						
						... 
						
						
						
						Change-Id: I2adf76f8f662e77e5a6aa077344fab6b430975c4 
						
						
					 
					
						2020-11-16 07:07:38 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						c55f99073b 
					 
					
						
						
							
							mdbx: fix MDBX_NEXT for EOF case.  
						
						... 
						
						
						
						Change-Id: I84c033a24d2215a4867affab5b148bf6ba5d57dc 
						
						
					 
					
						2020-11-16 07:07:38 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						b1446b7752 
					 
					
						
						
							
							mdbx: minor fix/distinction MDBX_EBADSIGN and MDBX_EINVAL errors for cursors.  
						
						... 
						
						
						
						Change-Id: I6d72638a69ff0f793156fe5e0e7ca5531a97c7cf 
						
						
					 
					
						2020-11-16 07:07:38 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						b6f0070f85 
					 
					
						
						
							
							mdbx: add mdbx_cursor_copy().  
						
						... 
						
						
						
						Change-Id: I476f1230beec6a550897bef236745530154c1079 
						
						
					 
					
						2020-11-16 07:07:38 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						2489e0ba6e 
					 
					
						
						
							
							mdbx: refactor/rename cursor_copy_internal().  
						
						... 
						
						
						
						Change-Id: I334e68d3d424ef15cafcaafd23d61f80611fce01 
						
						
					 
					
						2020-11-16 07:07:38 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						459e769844 
					 
					
						
						
							
							mdbx: engage cursor tracking for all merge/rebalance operations.  
						
						... 
						
						
						
						Assume this resolves https://github.com/erthink/libmdbx/issues/131 .
Change-Id: I5111618a34d91d083b81245ac959b744a86c4495 
						
						
					 
					
						2020-11-16 07:07:27 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						37a1d546b7 
					 
					
						
						
							
							mdbx: minor refine mdbx_rebalance().  
						
						... 
						
						
						
						Change-Id: I10a6a208b173bdee1d325aa7b2624de879814647 
						
						
					 
					
						2020-11-16 06:28:11 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						b209e91ad4 
					 
					
						
						
							
							mdbx: zeroed mc_top while tracking nested cursors.  
						
						... 
						
						
						
						This avoids scanning dummy cursors during tracking.
Change-Id: Id4edc665010215b4a946f9438475691f1387313c 
						
						
					 
					
						2020-11-16 05:48:44 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						0c78da99b0 
					 
					
						
						
							
							mdbx: add cursor_is_tracked() and assertions.  
						
						... 
						
						
						
						Change-Id: I83db1a714597b134aa30e4ca7019bb7f541a2428 
						
						
					 
					
						2020-11-16 05:48:23 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						10681a53ae 
					 
					
						
						
							
							mdbx: cleanup/refine GC-flags inside mdbx_page_alloc().  
						
						... 
						
						
						
						Change-Id: Ie81c703815a7b3fbe59ad9b406811d5ed2913d02 
						
						
					 
					
						2020-11-16 05:43:53 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						06691aeafc 
					 
					
						
						
							
							mdbx-load: fix/preserve DB geometry without the mapsize header item.  
						
						... 
						
						
						
						More for https://github.com/erthink/libmdbx/issues/136 .
Change-Id: I385869f2894ebe83b00b4e5b7ac4cacaabaf25d9 
						
						
					 
					
						2020-11-16 00:53:34 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						462df477b0 
					 
					
						
						
							
							mdbx-load: cosmetic fix missed space.  
						
						... 
						
						
						
						Change-Id: Ifb9deb7c31d2d191b621280b6afd63fad9d436a3 
						
						
					 
					
						2020-11-15 07:57:46 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						74e495569e 
					 
					
						
						
							
							mdbx-load: fix DBI-error without -s name option.  
						
						... 
						
						
						
						Related to https://github.com/erthink/libmdbx/issues/136 
Change-Id: I1e634456867f92dc1488a826eabf65ab28e64c1b 
						
						
					 
					
						2020-11-15 07:57:15 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						3ed58c281a 
					 
					
						
						
							
							mdbx-load: fix hang at EOF in the 'plain text' (i.e. no headers) mode.  
						
						... 
						
						
						
						Related to https://github.com/erthink/libmdbx/issues/136 
Change-Id: I6ac9762bc5ac6aaf8b947b2e4abb0b4ff6a14444 
						
						
					 
					
						2020-11-15 07:54:09 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						21d2af9e90 
					 
					
						
						
							
							mdbx: merge branch 'c++' into devel.  
						
						... 
						
						
						
						Change-Id: Ibd7f6c323aaf4f681a2c2dd442d36f4a9459d400 
						
						
					 
					
						2020-11-01 00:39:19 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						4cb8067dce 
					 
					
						
						
							
							mdbx++: always provide implementation for mdbx::path == std::string.  
						
						... 
						
						
						
						Change-Id: I8ef5c1531dc378b4141637ec4ddae3bbc67f1570 
						
						
					 
					
						2020-10-31 23:24:05 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						586e25c48c 
					 
					
						
						
							
							mdbx++: add operator<<(ostream, pair_result).  
						
						... 
						
						
						
						Change-Id: I44cc28f7f4f7d65225239d62f5bb8a15a8de16a8 
						
						
					 
					
						2020-10-31 23:23:46 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						e3f32ec6b4 
					 
					
						
						
							
							mdbx++: refine operator<<(ostream, pair).  
						
						... 
						
						
						
						Change-Id: I0f42c17a241cf4e2ed6ae8f18e84a13ba5500a3b 
						
						
					 
					
						2020-10-31 23:23:30 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						4e198915f2 
					 
					
						
						
							
							mdbx++: fix slice::is_printable().  
						
						... 
						
						
						
						Change-Id: I7f572f8e2179313e3cd312a58e46d445b920ba3e 
						
						
					 
					
						2020-10-31 23:22:31 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						5ad167410c 
					 
					
						
						
							
							mdbx: fix handling MDBX_GET_BOTH_RANGE.  
						
						... 
						
						
						
						Partially revert 77e84ccca87522246ccdhttps://github.com/erthink/libmdbx/issues/130 
Change-Id: Ib9f49a3e6a108a0d914ccde7ccb4dc0ef6056ff7 
						
						
					 
					
						2020-10-31 20:54:53 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						70241e25db 
					 
					
						
						
							
							mdbx: don't limit reclaimed-pglist if DB full.  
						
						... 
						
						
						
						More for 55d190bad9https://github.com/erthink/libmdbx/issues/123 
Change-Id: Iecd19fe8f159d29a1434d03f43f0b277f2d6ab86 
						
						
					 
					
						2020-10-30 19:22:37 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						d9ceb84445 
					 
					
						
						
							
							mdbx-tools: use mdbx_cursor_bind() inside the mdbx_load.  
						
						... 
						
						
						
						Change-Id: I632841817331dfd493125c95350ec79e26147171 
						
						
					 
					
						2020-10-30 17:44:51 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						0f64d0ee95 
					 
					
						
						
							
							mdbx: update internal MDBX_NO_ROOT.  
						
						
						
						
					 
					
						2020-10-30 17:44:51 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						d5658c496f 
					 
					
						
						
							
							mdbx: fix mp_txnid check for spilled pages.  
						
						... 
						
						
						
						This is OMG stupid bug.
Тем не менее, ошибка не была замечена по трём причинам:
- some TODOs should be resolved, like [this](faddc71eac/src/core.c (4014)https://github.com/erthink/libmdbx/issues/128 ).
Resolves https://github.com/erthink/libmdbx/issues/126 
Change-Id: If76336620aa83e6916e3aeaa838e0b6e68c34fd7 
						
						
					 
					
						2020-10-30 17:44:31 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						16c900b0a1 
					 
					
						
						
							
							mdbx: fix assertion inside mdbx_cursor_del0().  
						
						... 
						
						
						
						Change-Id: I87ad3777215bee8a2b19f53ec92299db89431fa4 
						
						
					 
					
						2020-10-29 00:55:42 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						105947b50c 
					 
					
						
						
							
							mdbx: minor refine internals comments/docs.  
						
						... 
						
						
						
						Change-Id: Ie1dd2233259948b4906e66fb191832dbc6526c47 
						
						
					 
					
						2020-10-29 00:55:12 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						faddc71eac 
					 
					
						
						
							
							mdbx-tools: cleanup/refine mdbx_dump & mdbx_load.  
						
						
						
						
					 
					
						2020-10-27 01:08:01 +03:00 
						 
				 
			
				
					
						
							
							
								Leonid Yuriev 
							
						 
					 
					
						
						
							
						
						3fd079262c 
					 
					
						
						
							
							mdbx: fix extra-rare MDBX_KEY_EXIST during mdbx_commit().  
						
						... 
						
						
						
						The MDX_KEYEXISTS error could occur inside mdbx_update_gc() in the extremely rare case:
- no GC records was reclaimed before mdbx_txn_commit() called;
- there were few loose pages during the transaction;
- some reader prohibit reclaiming, therefore mdbx_page_alloc(MDBX_ALLOC_GC),
  which called for obtain present GC-record's Id, returns MDBX_NOTFOUND;
- immediately then the reader completes its transaction and unlocks reclaiming;
- mdbx_update_gc() decide that no reclaimable GC entries,
  i.e. no GC-entries with ID < find_oldest(),
  and it is safe to use find_oldest() - 1 to store loose page list;
- but find_oldest() actually returns new/larger ID than expected,
  So KEYEXISTS will returned if using this ID.
Change-Id: I9726217d6b5983f1e31a211c0eeb3edc8ff94282 
						
						
					 
					
						2020-10-26 14:37:16 +03:00