Leo Yuriev
ddb3c32258
mdbx: HNY 2017!
...
Change-Id: Ie80fc1dc407ec45c828aa3b1bdc42933741a863a
2017-01-01 14:56:00 +03:00
Leo Yuriev
1edceae1a1
mdbx: adds travis-ci.
...
Change-Id: Ic7034ae538bcc70ad1584f4aeae857594ceeded1
2016-12-29 00:21:34 +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
598989c6a5
mdbx: Merge branch 'devel'.
2016-12-23 05:02:37 +03:00
Howard Chu
bb7d3b4639
mdbx: backport - More 0.9.19 updates.
...
Change-Id: I4571ba200677124ab41f80a9c0cf37d620d5d230
2016-12-23 05:00:55 +03:00
Hallvard Furuseth
5bed0413f3
mdbx: backport - More MDB_node doc.
...
Change-Id: I2a4d2596af8d2c551d891b567e4d3366b2d6ad8c
2016-12-23 04:47:38 +03:00
Hallvard Furuseth
ef00ee6095
mdbx: backport - Doxygen fixes. Use DISTRIBUTE_GROUP_DOC.
...
- DISTRIBUTE_GROUP_DOC makes doxygen give several fields the
same doc: mn_hi + mn_lo in MDB_node.
- Don't hide a doxygen #name inside double quotes.
Change-Id: I173ff54a78349344d38e175cf9de741efab29e82
2016-12-23 04:45:52 +03:00
Leo Yuriev
92e8d32c7f
mdbx: Merge branch 'devel'.
2016-12-20 09:00:33 +03:00
Lorenz Bauer
b950e39c10
mdbx: backport - mdb_env_copyfd2(): Don't abort on SIGPIPE (ITS#8504).
...
Return EPIPE instead.
Never clear mc_error, we could lose a failure in the other thread.
Change-Id: Ief08803ed56293309f07be116e69123c10907e77
2016-12-16 08:27:52 +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
cbff647579
mdbx: fix ov-pages copying in cursor_put().
...
I think I just lost one line of code.
This bug was added by 09d7904317
2016-12-15 20:09:28 +03:00
Hallvard Furuseth
3627145129
mdbx: backport - catch mdb_cursor_sibling() error (ITS#7377).
...
Change-Id: I440ff1f9f92156e19935195d656f4d77b088f605
2016-12-11 08:43:13 +03:00
Hallvard Furuseth
fca2f4d929
mdbx: backport - clean up and comment C_UNTRACK.
...
Don't use it as a "cursor is tracked" hint in mdb_pages_xkeep().
It's been harmless so far, but would break after mdb_cursor_copy().
Checking m0 directly short-circuits better anyway.
Change-Id: Ibf180214db603e08ed11e298cff85866eb79f4bb
2016-12-11 08:31:50 +03:00
Hallvard Furuseth
fe4e9993d6
mdbx: backport - Pass cursor to mdb_page_get(), mdb_node_read().
...
No change in behavior.
Change-Id: I19054cfd96fa883970a0dc66a0088596a142ea07
2016-12-10 20:41:48 +03:00
Hallvard Furuseth
ca97abb7f3
mdbx: backport - mdb_dbi_open(): Protect mainDB cursors (ITS#8542).
...
Change-Id: I5bdd3727eddc16a518c4b88534a3e7253e9789fd
2016-12-10 16:21:22 +03:00
Hallvard Furuseth
7b773e6f2d
mdbx: backport - Cleanup: Add flag DB_DUPDATA, drop DB_DIRTY hack.
...
Change-Id: I5d30367104d025c1d2f8c39d29455faca59d7f19
2016-12-10 16:18:26 +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
Hallvard Furuseth
207f43003c
mdbx: backport (comments) - MDB_CP_COMPACT comments.
...
Change-Id: I4965d5e511395fceafcd922f513dcf0d5050c9b8
2016-12-08 00:55:28 +03:00
Hallvard Furuseth
baf61da42b
mdbx: backport (minor) - doxygen cleanup.
...
Change-Id: Ide60614f4fc631aa2bfba3609115f39ec294b3de
2016-12-08 00:55:11 +03:00
Hallvard Furuseth
ba688e63dc
mdbx: backport (comments) - Note functions which must set MDB_TXN_ERROR on failure.
...
Other functions depend on them to do so.
For mdb_node_read(), instead remove such a dependence.
Change-Id: I49c1c8bbb1c20527cbf76ef004cb7a1300ef465c
2016-12-08 00:54:30 +03:00
Leo Yuriev
2fb5a54264
mdbx: minor simplify mc_signature.
...
Change-Id: Ib3952853350d220dd62910bcd55ac74cf5f47886
2016-12-03 17:39:26 +03:00
Hallvard Furuseth
2196a9b72c
mdbx: backport - factor out refreshing sub-page pointers.
...
Change-Id: If2d3efde19ff751da208959f6f2834ece1f64e56
2016-12-03 13:50:09 +03:00
Howard Chu
533ad276bb
mdbx: backport - more for cursor tracking after deletion (ITS#8406).
...
xcursor fixup depends on init state
Change-Id: I13139c401e2ae6bbe3d7e6b9fda3739f9ec789cf
2016-11-30 00:14:32 +03:00
Leo Yuriev
e381191c0f
mdbx: fix typo.
...
Change-Id: I46344bf13a71b04b32d84bf0e0bc0a34ae6ef162
2016-11-27 12:56:27 +03:00
Leo Yuriev
b7cb7d6046
mdbx: Merge branch 'devel'.
2016-11-27 12:18:53 +03:00
Leo Yuriev
7ea16c1daf
mdbx: fix build mtest1.
...
Change-Id: I8d206bb45ee4b99b1e12b32897c5b5b31c4df760
2016-11-27 11:08:55 +03:00
Leo Yuriev
ff70f5feb0
mdbx: avoid large '.data' section in mdbx_chk.
...
Initializes walk-array in runtime, for placing it
in the '.bss' section instead of '.data'.
Change-Id: I5bd1d9cabd2094f8ae517d91488840ce12844bfa
2016-11-27 11:08:55 +03:00
Leo Yuriev
ae61e9ebdf
mdbx: distinct signature of internal objects for LMDB/MDBX modes.
2016-11-27 11:08:53 +03:00
Leo Yuriev
aa4fd0ec76
mdbx: more isolation MDBX/LMDB API.
2016-11-22 13:08:59 +03:00
Leo Yuriev
a5b8b83170
mdbx: Merge branch 'devel'.
2016-11-21 18:55:01 +03:00
Leo Yuriev
36b1ad02fb
mdbx: fix MDB_CORRUPTED while walk/checking empty sub-db.
...
This fixes https://github.com/ReOpen/libmdbx/issues/4
2016-11-21 18:42:19 +03:00
Leo Yuriev
a26a38be2d
mdbx: Merge branch 'devel'.
...
Change-Id: I96fc12a4b3e7191a19aa7620ca4d36cf192ff15c
2016-11-13 13:06:43 +03:00
Howard Chu
b7502306c1
mdbx: backport - More for ITS#8406.
...
Revert excess cursor fixup
Change-Id: Ic1863feda49e793dd8890a77bd9bf223d1320826
2016-11-13 13:04:57 +03:00
Leo Yuriev
14f49fd278
mdbx: Merge branch 'devel'.
...
Change-Id: I8d1e96b04421b0c0e4374980027e218fe4f646d7
2016-10-25 11:19:52 +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
38d57e66c6
mdbx: use O_CLOEXEC/FD_CLOEXEC for me_fd,env_copy as well (ITS#8505).
...
Change-Id: I1db158f1371e557a78fc11fc0ca9e371d1590067
2016-10-25 09:12:11 +03:00
Hallvard Furuseth
9a8270f427
mdbx: backport - ITS#7682 F_NOCACHE: Allow error, skip any O_DIRECT.
...
We can run without F_NOCACHE if it fails. And we do not know
what combining it with O_DIRECT means, if a system has both.
Change-Id: Iec12b7097f4ed9f3ea5beae4a2deb874e4118131
2016-10-25 08:27:46 +03:00
Hallvard Furuseth
f3b99004d1
mdbx: backport - Silence warning for initializer "mdb_copy my = {0}".
...
1st struct member was not a scalar.
Change-Id: If52afc241f30b6af77a608a41178cbe929ceb288
LY: Already fixed in libmdbx, but to be closer to LMDB.
2016-10-25 08:19:21 +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
491123fcd6
mdbx: Merge branch 'devel'.
2016-09-06 08:20:54 +03:00
Howard Chu
c25b01b5b6
mdbx: backport - reset cursor EOF flag in cursor_set (ITS#8489).
...
It usually gets done anyway, but one of the fastpath shortcuts
bypassed this step.
Change-Id: I89d3c797ce969524e383b093dcf592579a514de1
2016-09-06 08:19:09 +03:00
Leo Yuriev
950e587742
mdbx: Merge branch 'devel'.
2016-08-25 21:12:45 +03:00
Leo Yuriev
796c4f5bc2
mdbx: fix usage of __attribute__((format(gnu_printf, ...)) for clang.
...
Change-Id: Iaf3890a9c915f63896822f430b219bc107037540
2016-08-25 21:10:52 +03:00
Leo Yuriev
2500c766b7
mdbx: fix CC and XCFLAGS in 'ci' make-target rules.
...
Change-Id: I5a658fedd4e5a51c298a0b76e709b1f9cd28a261
2016-08-25 21:09:06 +03:00
Leo Yuriev
8a721f7fef
mdbx: fix 'clean' make-target typo.
...
Change-Id: Ief422bd4ce3fa8800ad0f64702e93391cac5aa94
2016-08-25 21:03:39 +03:00
Hallvard Furuseth
b99cb20483
mdbx: minor fix mdb_page_list() message.
...
Change-Id: I25697a7123aef182762a91536e54ca118d6a0958
2016-08-25 17:34:07 +03:00
Leo Yuriev
5239bce5e5
mdbx: adds minor assert.
...
More for ae92d0d671
.
Change-Id: I32f8f54ec5888fe794b83d42ed7f5ae0138070d4
2016-08-24 11:52:36 +03:00
Leo Yuriev
7e61c52592
mdbx: Merge branch 'devel'.
2016-08-23 15:14:58 +03:00
Leo Yuriev
a92c4a9c17
mdbx: adds LICENSE note.
...
More for https://github.com/ReOpen/libmdbx/issues/3
Change-Id: I3606bb7011e705f149b26a610cbd33741c11da25
2016-08-23 15:13:32 +03:00
Leo Yuriev
fed33a943e
mdbx: adds Makefile deps from mdbx.c
...
Fix commit 9407621eba
Change-Id: I16dd4e2d6b3343f0827d7af13a93193ffc22c426
2016-08-23 15:00:58 +03:00