Commit Graph

22 Commits

Author SHA1 Message Date
Howard Chu
02da85169e mdbx: backport - ITS#8311 fix page_split from update_key.
Check for top of stack. Usually the cursor only has height 1 when
calling page_split, but not always.

Change-Id: Iad221be30edac0f82b650f787e5dbe721cc978e0
2015-11-19 19:05:02 +03:00
Howard Chu
380c61bcf7 mdbx: backport - ITS#8310 fix mdb_rebalance cursor fixup.
When collapsing root, must adjust entire cursor stack

Change-Id: If62c42f556311e785aa414954a3d7fddc077cf62
2015-11-14 13:07:19 +03:00
Howard Chu
ab0b0ec7ce mdbx: backport - ITS#8304 fix page_merge (mdb_del cursor tracking).
Was using the pre-touch dst page pointer instead of the touched page

Change-Id: Ib41af356dcf883b923dbfbbc7591a02483ee54dd
2015-11-10 09:12:33 +03:00
Howard Chu
ee26517b5d mdbx: backpost - ITS#8300 fix rebalance after node_move.
ITS#8258, ITS#7829 fixes checked parent index to see if we were moving
from a left neighbor. Should have just checked to see if current index
was 0, meaning we added on the left. (Parent index may not tell us
anything meaningful after a nested rebalance.)

Includes:

 - ITS#8300 fix node_move
   Don't adjust other cursors when we added a node on the right.

 - ITS#8300 more for node_move fixups
   When moving a node from the right neighbor, a different
   adjustment is needed.

 - ITS#8300 simplify

 - ITS#8300 more for node_move
   When moving a node from one page to another, make sure other cursors'
   parent index gets adjusted too.
2015-11-06 17:46:51 +03:00
Howard Chu
7890eb8a8e mdbx: backport - ITS#8238 fix DUPFIXED page_split.
Parent mc_ki wasn't adjusted if new_indx was > split point

Change-Id: I45548e378e53bad5ce7a3a7c2b8236d592f3c412
2015-11-06 17:46:31 +03:00
Howard Chu
f35fb03f86 mdbx: backport - ITS#8299 fix page_merge cursor fixup.
The parent's mc_ki has changed. We need to fix that up as well
in other cursors.

Change-Id: I1f422a07ed75b99f3e36075749800c892ca6d5ec
2015-11-06 17:46:31 +03:00
Howard Chu
372a6d8521 lmdb: origin - CHANGES, More misc updates.
Change-Id: I1f86203b89c895ba8caf7916173b23c7e2a211d9
2015-11-06 16:58:47 +03:00
Leo Yuriev
8473370d65 lmdb: CHANGES - ITS#7377, #8237, #8221, #8256, #8258.
Change-Id: Id825ceaf0fbb9575c0dbfd9f69997013d6f1fad0
2015-10-11 22:21:05 +03:00
Howard Chu
db7e7ae4df lmdb: origin - return to release engineering.
Change-Id: I26b54d4cc8b68a091ecb3cefe707cf6c5317da3d
2015-08-30 01:12:11 +03:00
Howard Chu
7fc3427b9c lmdb: Release 0.9.16
Change-Id: I47fb565592dd71e1fb3575584c560883418b7bf5
2015-08-15 13:17:46 +03:00
Leo Yuriev
1dbcf773a0 lmdb: ITS#8192 (reference to EINTR on WIN32) - not affected in ReOpenLDAP.
Change-Id: I5b2f76b24bc93841ee3c89f9adb9a81ba4581c5d
2015-08-04 14:10:44 +03:00
Howard Chu
b980ff72cb lmdb: 0.9.16, updated CHANGES for ITS#8181, #8190, #8200.
Change-Id: I87a1a3136ea6dcdd322ab24ec1df9391aa4280b8
2015-08-04 13:57:14 +03:00
Hallvard Furuseth
001f89d4af lmdb: Clarify mdb_env_open() doc of 'mode' param.
Change-Id: Ia156bdd14f80c25b0d0cf44f9ab8a0fd270a4bb7
2015-06-03 02:12:58 +03:00
Hallvard Furuseth
75f9080c7d lmdb: more CHANGES.
Change-Id: I212a4d3124614de8d4a537f5e56d3749ce832081
2015-06-01 15:38:18 +03:00
Hallvard Furuseth
f71cb6d69e lmdb: ITS#8156 Fix MDB_MAXKEYSIZE doc.
Change-Id: Ia9dae2e68f28dcb715ac34226b358212317199c2
2015-06-01 15:38:18 +03:00
Hallvard Furuseth
55ae3dfa8b lmdb: ITS#8157 mdb_txn_renew0(): init after error checks.
Change-Id: I9ea344b98cb8c99a25ba7087abefbfe62b3417a0
2015-05-28 16:00:27 +03:00
Leo Yuriev
f97cc739cb lmdb: ITS#8117 - reworks of comparison for MDB_INTEGERKEY and MDB_INTEGERDUP.
Change-Id: Icd24589c7a139c4395de1e7c40f16d2c7ea54cf7
2015-05-01 06:50:04 +03:00
Howard Chu
d4bddde7aa lmdb: ITS#8109 fix mdb_cursor_del0 on empty DB.
Change-Id: Idba0acfd64b597f2bc5cb847ca99fe4560eed875
2015-04-24 22:39:21 +03:00
Leo Yuriev
1cab8ed564 lmdb: minor update lmdb/CHANGES.
Change-Id: Ic8070cce524fa899e87f4e3fe8d44c69e6830d58
2015-04-23 08:11:18 +03:00
Howard Chu
d0b4943352 lmdb: ITS#8062 - fix rebalance, also handle subcursors.
(Probably fixes the ITS, definitely fixes a bug) when collapsing
the root page, fixups of other cursors was incomplete.
2015-04-16 13:38:42 +03:00
Howard Chu
1981e8b6ee lmdb: ITS#8066 fix mdb_load with large values.
Change-Id: I8e5320efbea2c457da5a6e7115f4a6c9c38f45c3
2015-03-02 17:46:37 +03:00
Leo Yuriev
8431fb6372 OpenLDAP mdb.RE/0.9 at fe8b13f2251d49689b05876b86b3e10bb89993cd (2015-01-01). 2015-01-07 17:55:19 +03:00