Leonid Yuriev
|
0627d902dd
|
mdbx: add mdbx_env_delete() .
Resolves https://github.com/erthink/libmdbx/issues/119
Related to https://github.com/Kerollmops/heed/issues/58
Change-Id: Iec5bf5978e45bb6843f3ed8dd06ea4d34f2895cb
|
2020-10-10 00:58:53 +03:00 |
|
Leonid Yuriev
|
cd0c727880
|
mdbx: internally split-out mdbx_handle_env_pathname() .
Change-Id: Ibe387662d737d4d1e274ac0e126053872be503f9
|
2020-10-10 00:52:41 +03:00 |
|
Leonid Yuriev
|
9bf7d53dc2
|
mdbx: MAX_MAPSIZE32 value has been reduced to 0x7f000000 .
Change-Id: Ia45dd56621cd92441a45b8e80420a124cd111fdc
|
2020-10-10 00:52:41 +03:00 |
|
Leonid Yuriev
|
7ba13d8e72
|
mdbx: add internal bits/flags table.
Change-Id: Ia9d0e9f678b51d8ffd1830998e9cd5d04c749974
|
2020-10-10 00:52:41 +03:00 |
|
Leonid Yuriev
|
c139eacb2d
|
mdbx-chk: avoid use GetTickCount64() for Windows 2000/XP.
Change-Id: Ibad5c5ec0590cd3776283237de2cb83126785726
|
2020-10-08 01:50:18 +03:00 |
|
Leonid Yuriev
|
9b64b95bbc
|
mdbx-windows: fix mdbx_RegGetValue() for Windows 2000/XP.
Change-Id: I436a254300fcba8dbf75ea7568c2bf0c963fe060
|
2020-10-08 01:50:18 +03:00 |
|
George Hazan
|
e8fecd1eec
|
mdbx: fix opening DB on a network shares (pass MDBX_EXCLUSIVE from env).
Change-Id: Ic5c68033ba81043ac7800f99aae364bf082c868f
|
2020-10-08 01:50:18 +03:00 |
|
Leonid Yuriev
|
0f3b82f661
|
mdbx: minor refine WITH_CURSOR_TRACKING macro.
Change-Id: I61a4782ae76aed624fe37f7dde2b0ef7eb5dfb64
|
2020-10-08 01:50:18 +03:00 |
|
Leonid Yuriev
|
b274fdd142
|
mdbx: clarify page-merge strategy.
Change-Id: I1bb843ab6bdfcd53deae6d219a5b164bd3a79fd3
|
2020-10-08 01:49:56 +03:00 |
|
Leonid Yuriev
|
f5ce471ebb
|
mdbx: fix minor copy&paste typo.
Change-Id: I5a1be230d0ca92123006e709aaaf78496918c91a
|
2020-10-07 12:18:28 +03:00 |
|
Leonid Yuriev
|
fe65c122d2
|
mdbx: fix pthread_yield() for non-GLIBC.
Change-Id: I080e37a42b62e524896dea8747e9f23e2fcd584f
|
2020-10-06 00:28:12 +03:00 |
|
Leonid Yuriev
|
8d4e7994c0
|
mdbx-load: fix minor false-positive GCC warning.
Change-Id: Ie75c793712d050e8d3da76a4d0a8df9b81dc5275
|
2020-10-05 19:15:18 +03:00 |
|
Leonid Yuriev
|
70b615e8d4
|
mdbx: don't use yield instruction on ARM if unsupported.
Change-Id: I0b01d783fe4336b089f4b051fb61c203b5879aa5
|
2020-10-05 19:15:07 +03:00 |
|
Leonid Yuriev
|
280ed17ea2
|
mdbx: fix obsolete __noreturn .
Change-Id: Ic78843d6f16de2a409c16ceecc7acb2ed8aa3e68
|
2020-10-05 19:14:20 +03:00 |
|
Leonid Yuriev
|
fc965c57ac
|
mdbx: fix merge_sync_flags() to preserve MDBX_UTTERLY_NOSYNC.
Change-Id: I59dbd1ef8ac1747dd20565ff444e4feb5d0e0e71
|
2020-09-30 04:01:36 +03:00 |
|
Leonid Yuriev
|
f6850f5367
|
mdbx: Support for user-settable cursor context.
Change-Id: I9bd60c432924e39020b2d3af3280f13c44d6cd91
|
2020-09-29 21:15:25 +03:00 |
|
Leonid Yuriev
|
72e136b9da
|
mdbx-doc: fix/refine README & Doxygen docs.
Change-Id: I79cfb44f84fbf0f118b0d209af1ef62bb9dae72a
|
2020-09-29 21:15:25 +03:00 |
|
Leonid Yuriev
|
c8a0951566
|
mdbx: rework API and Docs around Handle-Slow-Readers (no algorithmic changes).
Change-Id: I5b76a8400ce6f5f241f8e4a7f53d746fe39f8e1e
|
2020-09-29 21:15:25 +03:00 |
|
Leonid Yuriev
|
6294e1710a
|
mdbx: support for user-settable transaction context.
Change-Id: Ib4a345628e2c1ca2f95ac7615ea53d94911e5198
|
2020-09-29 20:59:55 +03:00 |
|
Leonid Yuriev
|
10c50aaf2e
|
mdbx-cmake: minor refine MDBX_BUILD_TARGET/MDBX_BUILD_TYPE, etc.
Change-Id: I34f99c50ced56b310576743c56422a1e1992c03b
|
2020-09-29 20:59:55 +03:00 |
|
Leonid Yuriev
|
5374d06d92
|
mdbx: fix minor MSVC warning.
Change-Id: Ie3c9fa7ba21cd88f7a0c08a1529542ba394fe9c8
|
2020-09-29 20:59:55 +03:00 |
|
Leonid Yuriev
|
2a0c9d83e0
|
mdbx-load: refine usage-help for -n option.
Change-Id: I4af2ea041bca323f8647601f49610f93a8f97d38
|
2020-09-28 15:48:21 +03:00 |
|
Leonid Yuriev
|
c0cc531b50
|
mdbx-doc: minor refine man-pages for -n utils option.
Change-Id: Ie81145fc1ec70f66e6c7be7332b2106d6636dc6b
|
2020-09-28 15:48:21 +03:00 |
|
Leonid Yuriev
|
92bc728f39
|
mdbx: update warnings/errors for old version GCC/CLANG/MSVC/GLIBC.
Change-Id: I355316f6c8d96eae4bd5d9743f0b6e50caddcbcd
|
2020-09-27 17:01:59 +03:00 |
|
Leonid Yuriev
|
1e3f633665
|
mdbx: fix build with uclibc.
Change-Id: I907fecd84b335a84d5f1dcaa44ac489c4dfb1907
|
2020-09-27 17:01:59 +03:00 |
|
Leonid Yuriev
|
5627521f16
|
mdbx++: more spelling.
Change-Id: I3f33e695fb918c6a57c39047bba54a72ecb9bc5b
|
2020-09-27 17:01:59 +03:00 |
|
Leonid Yuriev
|
5d582b1b3a
|
mdbx-chk: refine output (bootid, steady/weak, kv-kind).
Change-Id: Ia2474f7bb9a25adf761a561d0704362dca930796
|
2020-09-27 17:01:58 +03:00 |
|
Leonid Yuriev
|
6eaa838e3e
|
mdbx: clarify logging for MDBX_WANNA_RECOVERY in case sync-needed in rdonly-mode.
Change-Id: I7032cfbce857e2acfb93de383272a4f41ab6a7fb
|
2020-09-27 17:01:58 +03:00 |
|
Leonid Yuriev
|
12339d4e7c
|
mdbx: rename bootid' fields to be neutral for endianess.
Change-Id: I7d52d3c2c93dcc6e886d336885070eb1aee1c284
|
2020-09-26 02:23:09 +03:00 |
|
Leonid Yuriev
|
12652852bd
|
mdbx-doc: update man-pages.
Change-Id: Ia9caf0082c32cf95526cc1080507c61f9269c9dc
|
2020-09-25 02:10:55 +03:00 |
|
Leonid Yuriev
|
af331a9e7c
|
mdbx-tools: fix getopt's messages for windows.
Thank to Andrey Sporaw for the reporting.
Change-Id: I7531427c48b1a2f5483e2f04175cded2d34062a8
|
2020-09-25 01:53:43 +03:00 |
|
Leonid Yuriev
|
75a4463811
|
mdbx: minor misc cosmetics & refines.
Change-Id: I84b70aeded047ab3786a57c864dbc89364969afa
|
2020-09-25 01:21:45 +03:00 |
|
Leonid Yuriev
|
860aa017db
|
mdbx: Merge branch 'master' into devel.
Change-Id: Ic130cd181097332aa2f49019d75403e18d8cba0d
|
2020-09-25 01:14:57 +03:00 |
|
Josh Soref
|
448728f584
|
mdbx: a lot of spelling (squashed).
Many Thanks to Josh Soref for these fixes.
https://github.com/jsoref
Resolves https://github.com/erthink/libmdbx/pull/118.
Change-Id: I4e09347da5c9d7a77cdd918a3b15284371440076
|
2020-09-25 01:01:25 +03:00 |
|
Leonid Yuriev
|
4eab5b238a
|
mdbx-chk: support for turn to a specified meta-page.
Change-Id: I9d088681e7bd66a2f8b5917067c4f847733d17ac
|
2020-09-23 10:05:38 +03:00 |
|
Leonid Yuriev
|
58708f7162
|
mdbx: add mdbx_env_turn_for_recovery().
Change-Id: Ic02a5adf9ad398ae5b499e8808157e41ec42457e
|
2020-09-23 10:05:38 +03:00 |
|
Leonid Yuriev
|
9b5097fe9d
|
mdbx: add paranoid checks for txnid overflow.
Change-Id: I0036a080d40a0da9ffc55ff838d91799ff0ceadb
|
2020-09-23 10:05:38 +03:00 |
|
Leonid Yuriev
|
c67a611313
|
mdbx-chk: refine output basic info of sub-databases.
Change-Id: Ia51b753990eb7a552dab016aab352b37c62ce4c3
|
2020-09-23 10:05:37 +03:00 |
|
Leonid Yuriev
|
7762e6e836
|
mdbx-chk: show last modification of each sub-database.
Change-Id: Ib424d17371adaef543a10b4f1d8a456cd6466046
|
2020-09-23 10:05:37 +03:00 |
|
Leonid Yuriev
|
d4b16c981d
|
mdbx: fix minor Coverity warning.
Change-Id: Id92d85a7032a20a4b06d87878e32d8997b6558e3
|
2020-09-23 10:05:37 +03:00 |
|
Leonid Yuriev
|
45909eca61
|
mdbx-chk: fix minor typo.
Change-Id: Ib120f7af827463dd93af352fc8b4ce6af1926b75
|
2020-09-23 10:05:37 +03:00 |
|
Leonid Yuriev
|
7fe4fccda8
|
mdbx: acquire exclusive lock for the destination file during mdbx_env_copy().
Change-Id: Ic75796025dd2a649840b96b1f71aecac9360d010
|
2020-09-23 10:05:37 +03:00 |
|
Leonid Yuriev
|
24c0749eb8
|
mdbx: rework/refine mdbx_mresize() for POSIX and MAP_FIXED_NOREPLACE (Linux 4.17).
Change-Id: I2e531b5e3e009b2a18ae1901fc7e2e6e4df667cd
|
2020-09-22 04:07:43 +03:00 |
|
Leonid Yuriev
|
a7a8631bc3
|
mdbx: allow sync_file_range() to fail for Valgrind/QEMU cases.
Change-Id: I9aa77d1debfbd0cb18e940946533e4ed758d08e8
|
2020-09-21 17:18:07 +03:00 |
|
Leonid Yuriev
|
c01750be2e
|
mdbx: provide MDBX_USE_SYNCFILERANGE option.
Change-Id: Icf1f27d6203653b4e2f2180a59a65e958c4d5e2e
|
2020-09-21 17:18:07 +03:00 |
|
Leonid Yuriev
|
a2e2e5c8a0
|
mdbx: allow sendfile() and copy_file_range() to fail for Valgrind/QEMU cases.
Change-Id: I37ee8d652d91a8d2106c782beceaacb13e9f667f
|
2020-09-21 03:29:38 +03:00 |
|
Leonid Yuriev
|
25e3968199
|
mdbx: provide MDBX_USE_SENDFILE and MDBX_USE_SENDFILE options.
Change-Id: Icd9a6487ae6e398276a9e720926ff24de5897c1a
|
2020-09-20 20:16:26 +03:00 |
|
Leonid Yuriev
|
765a18ed59
|
mdbx_chk: support for checking using specified meta-page.
Change-Id: Iadb930154acb966f03aa1dec9cc7cbdc76779f05
|
2020-09-19 02:55:19 +03:00 |
|
Leonid Yuriev
|
d9daf2944d
|
mdbx: add env_open_for_recovery() (squashed).
Change-Id: I0151b21610def433745c33d1f6e0b66ce655d1a9
|
2020-09-19 01:48:24 +03:00 |
|
Leonid Yuriev
|
b321f67ed2
|
mdbx: Merge branch 'master' into devel.
Change-Id: I4f180753fe52b54f37f4fd12af2ba1b3ca541726
|
2020-09-19 01:47:12 +03:00 |
|