89 Commits

Author SHA1 Message Date
Leo Yuriev
c0c4742dba mdbx: Merge branch 'master' into 'nexenta' branch.
Change-Id: Iade70bae46bc4ea4baac36b3ed86434519959274
2017-03-16 15:23:15 +03:00
Leo Yuriev
b950b010bf mdbx: update version timestamp.
https://en.wikipedia.org/wiki/Institute_of_Mathematical_Problems_of_Biology
17 февраля 1972 — организован Научно-исследовательский вычислительный центр (НИВЦ) АН СССР.
2017-02-17 22:09:41 +03:00
Leo Yuriev
acdaeeab5c mdbx: notes about free/reuse cursors. 2017-02-15 19:51:09 +03:00
Leo Yuriev
4681620e66 mdbx: don't ignore data arg in mdb_del() for libfpta. 2017-02-02 13:15:16 +03:00
Leo Yuriev
6aa60c61c5 mdbx: allows cursors to be free/reuse explicitly, regardless of transaction wr/ro type. 2017-01-24 20:21:51 +03:00
Leo Yuriev
17b8feac57 mdbx: adds README.md
Initial for https://github.com/ReOpen/libmdbx/issues/2

Change-Id: I8e2afc659a8874405a85456da9904612c5bf8089
2017-01-09 00:40:32 +03:00
Leo Yuriev
f8a14d7d54 mdbx: Merge branch 'positive' into 'devel' branch. 2017-01-08 14:27:31 +03:00
Leo Yuriev
ddb3c32258 mdbx: HNY 2017!
Change-Id: Ie80fc1dc407ec45c828aa3b1bdc42933741a863a
2017-01-01 14:56:00 +03:00
Leo Yuriev
ec49580a84 mdbx: sync version timestamp with LMDB-0.9.19
Change-Id: I4a50b38042ebd57ea2f2fec5b837b16f8a2e3ff3
2016-12-28 23:52:14 +03:00
Leo Yuriev
a866d8b6c2 mdbx: Merge branch 'devel' into 'pt' branch. 2016-12-20 08:51:07 +03:00
Hallvard Furuseth
70a138472b mdbx: backport - Mention MDB_PREV_MULTIPLE along with MDB_NEXT_MULTIPLE.
Change-Id: I0c216203c3aa2005ef254293c1c472c9b7f257f3
2016-12-16 08:08:25 +03:00
Leo Yuriev
b4dc91d276 mdbx: Merge branch 'devel' into 'pt' branch. 2016-12-15 22:05:45 +03:00
Hallvard Furuseth
b33fe4a3f0 mdbx: backport - note about reserved vs. actual mem/disk usage.
Change-Id: Ibd75bdafac646f4a577c7cbebda8173e5b7e5ef1
2016-12-10 15:57:00 +03:00
Leo Yuriev
f9f132671c mdbx: explicit overwrite support for mdbx_put(). 2016-12-06 20:08:08 +03:00
Leo Yuriev
dac4534cb7 mdbx: Merge branch 'master' into 'nexenta'. 2016-11-27 12:46:58 +03:00
Leo Yuriev
aa4fd0ec76 mdbx: more isolation MDBX/LMDB API. 2016-11-22 13:08:59 +03:00
Leo Yuriev
a15ebc9923 mdbx: Merge branch 'master' into 'nexenta'. 2016-10-27 18:54:37 +03:00
Hallvard Furuseth
23389c8f6e mdbx: backport - ITS#8505 Clarify fork() caveat, mdb_env_get_fd(), flock->fcntl.
Change-Id: I987c4790e3ac590030c847a1f2f9b24048ce136a
2016-10-25 09:12:38 +03:00
Leo Yuriev
43d87b4d97 mdbx: move to the OpenLDAP Public License.
Finally for https://github.com/ReOpen/libmdbx/issues/3
2016-09-27 13:44:23 +03:00
Leo Yuriev
5814f408ac mdbx: Merge branch 'master' into 'nexenta'. 2016-08-25 21:13:25 +03:00
Leo Yuriev
bc7b9984d3 mdbx: fix copyright timestamps.
1 of 2 for https://github.com/ReOpen/libmdbx/issues/3

Change-Id: I7a0b820e092e7b0064ae22341bebcd015e37b7c7
2016-08-22 13:46:40 +03:00
Leo Yuriev
78da60dedd mdbx: Merge branch 'master' into 'nexenta'.
Change-Id: I02fda0d3bc0d14ee7a4f19e03329ef03b1497cd8
2016-07-29 00:41:20 +03:00
Leo Yuriev
d7c2247569 mdbx: Merge branch 'master' into 'nexenta' branch. 2016-07-26 17:22:39 +03:00
Hallvard Furuseth
259e21c85f mdbx: backport - Fix MDB_INTEGERKEY doc of integer types.
Change-Id: I482cb0fdc9b71368a3ee5c9842ac3bf4c9d07bc2
2016-07-26 17:05:48 +03:00
Hallvard Furuseth
dd98ab22da mdbx: backport - Add error MDB_PROBLEM, replace some MDB_CORRUPTED.
When problem is most likely in txn, not on disk.

Change-Id: Ie01d9eb32e8f250f6dd98f3fe84c38ed15593a2e
2016-07-18 18:34:59 +03:00
Hallvard Furuseth
3befcdab01 mdbx: backport - ITS#8209 fix MDB_CP_COMPACT.
Handle errors.  Fix cond_wait condition so mc_new
is the sole control var.  Drop specious cond_waits.
Do not look at 'mo' while copythr writes it.

Preserve DB flags (use metapage#1) when main DB is empty.
Fail if metapage root != actual root in output file.

Some _aligned_malloc() doc seems to think arg NULL = user error.
Don't know if posix_memalign() pointer is defined after failure.

Change-Id: Idfdc118b4848bb96bace0f29db9dcdd710b7a1f4
2016-07-18 18:34:07 +03:00
Leo Yuriev
deefa3d2f4 mdbx: Merge branch 'master' into 'nexenta'.
Change-Id: I5462656270698e6341477d2a7f78ba62f552fffe
2016-06-28 01:39:46 +03:00
Leo Yuriev
9c5d029417 mdbx: clarify copyright and license.
Change-Id: Ib1b9516ce09497559937f749d520719046c5b7e6
2016-06-09 13:21:20 +03:00
Leo Yuriev
f1acaf72ca mdbx: Merge branch 'master' into nexenta. 2016-05-09 22:50:27 +03:00
Leo Yuriev
6191b46ca1 mdbx: Merge branch 'devel'. 2016-05-09 08:36:48 +03:00
Leo Yuriev
14b3afdcff mdbx: notify OOM-handler about end of loop.
Change-Id: I71d66e371df869560801e12b8b06c4f4cbf90e98
2016-05-07 03:52:04 +03:00
Leo Yuriev
bbf8a047fc mdbx: release 0.9.19
re-release v0.9.19 with a few commits,
that were missed previously.

Change-Id: Ia22eb6c3fd35c80596705326ae46f167c8cc3d73
2016-05-06 05:22:56 +03:00
Leo Yuriev
cd14429b5d mdbx: Merge branch 'master' into nexenta. 2016-05-04 23:09:01 +03:00
Leo Yuriev
50f5475185 mdbx: don't mimics the MDBX's features for MDB.
Change-Id: Ie3865434c741da77b9a285e43b7d6a1d9ec0c5e2
2016-05-04 22:30:11 +03:00
Leo Yuriev
46b8915087 mdbx: rework attributes.
Change-Id: Id9d436a54ac14ed82c593710b1d5939871c89d1a
2016-04-13 13:40:35 +03:00
Leo Yuriev
ce06c8df9e mdbx: 'attributes' support for Nexenta.
Change-Id: Ib7a33d6a489d3ef6cfe67349c1ae8946a6a0548a
2016-04-13 13:40:35 +03:00
Leo Yuriev
33e2b52118 mdbx: fix nasty/stupid mistake in cmp-functions.
Change-Id: If9aff5d9cd46dde614ddaa688113be8be12f3e5d
2016-03-29 23:03:58 +03:00
Leo Yuriev
f833877083 mdbx: MDB_val as struct iovec.
Change-Id: I08d9dcabaf88564b367bc2752e596ebea0e7cbf9
2016-03-29 23:03:58 +03:00
Leo Yuriev
eb429da210 mdbx: minors.
Change-Id: Id1d8ed5bf6ce253dc73b2e69e8701bffa83f7e12
2016-03-12 20:44:20 +03:00
Leo Yuriev
c9642d1082 mdbx: MDB_PAGEPERTURB.
Change-Id: Id78304cb1f5caa3231e69388f6ce29a431e39976
2016-02-09 09:28:18 +03:00
Howard Chu
0deb198ca2 mdbx: backport - release 0.9.18
Change-Id: I132a004c109facfa481a86a09eb0c3e454c294a8
2016-02-09 06:28:54 +03:00
Howard Chu
77d482ef1e mdbx: backport - Happy New Year 2016.
Change-Id: I856f00f5cc7ef9cff0c7e93257ddcbd074e02c55
2016-02-01 21:03:53 +03:00
Howard Chu
3b7a958fcd mdbx: backport - Update WRITEMAP doc.
Change-Id: I5c4b72e8c64dfe4ed04ca579f3545191165ef20a
2016-01-25 18:27:58 +03:00
Hallvard Furuseth
2477997658 mdbx: backport - lmdb.h Caveats: Reserved vs. actual mem/disk usage.
Change-Id: Ia7c250e14bd5a59c8600f74c5843ad0bb37ebd33
2016-01-14 00:27:37 +03:00
Leo Yuriev
f1ceb753e5 mdbx: Merge branch 'master' into devel. 2016-01-09 22:34:05 +03:00
Howard Chu
ba29ae2cd2 mdbx: backport - Add MDB_PREV_MULTIPLE.
Logical counterpart to GET_MULTIPLE, NEXT_MULTIPLE

Change-Id: I3f42cb1599997e79dbdc76bcf23b78314ededfc9
2016-01-09 22:28:39 +03:00
Leo Yuriev
c81942a2a6 mdbx: pull CHANGES from LMDB.
Change-Id: I008d23776ea78352de582f7e93446edbed75d094
2015-12-25 19:49:22 +03:00
Howard Chu
926db32902 mdbx: backport - MDB_RESERVE doc.
Add mdb_put text to mdb_cursor_put description for people who
fail to draw logical conclusions.

Change-Id: I7d17178ad3b0d2ada721f3027af7e70f478c0da1
2015-12-25 19:49:11 +03:00
Howard Chu
ebaf7c8d41 mdbx: backport - Add Getting Started doc.
Change-Id: I41847e550dc8246fca293bef3d103c35d43f3001
2015-12-25 19:49:01 +03:00
Leo Yuriev
efda814f7e mdbx: minor flags cleanup.
Change-Id: I6ebb0d76963c0bf41051ca97fba4ec6f564519e2
2015-12-13 19:49:53 +03:00