Leonid Yuriev
9b9baddd0b
mdbx-build: fix wingetopt.c amalgamation.
...
Change-Id: I1527dace166e708847ead7cea1087600aa055210
2019-09-19 14:04:10 +03:00
Leonid Yuriev
d15a6b935c
mdbx: avoid "unused static function" warnings.
...
Change-Id: I438a9fa3fa099ad96bca5c1af1f528da4a01ddff
2019-09-19 14:04:10 +03:00
Leonid Yuriev
90a3ed992e
mdbx-cmake: provide MDBX_BUILD_SHARED_LIBRARY option for dist-cmake.
...
Change-Id: Ic8ef72ff70c24f844c9275788f9ba847ffef36eb
2019-09-19 03:34:49 +03:00
Leonid Yuriev
ab456bf376
mdbx-cmake: fix MDBX_BUILD_FLAGS list-case.
...
Change-Id: I4c2ce187e31ba3f7b225049b1c96a81fbfd9dead
2019-09-19 03:31:48 +03:00
Leonid Yuriev
7c39c16829
mdbx-tools: rework mdbx_reader_list() & mdbx_stat.
...
Change-Id: I0524cad93ca439e74eba9486cbcbeacf4253dd84
2019-09-19 01:21:35 +03:00
Leonid Yuriev
2f2df1ee76
mdbx: implement MDBX_TXN_CHECKOWNER option.
...
Change-Id: Ia283dc9c4d984de1e74915481118f7f4fb5ba5c8
2019-09-18 22:34:05 +03:00
Leonid Yuriev
8fa718c5f9
mdbx: refine mdbx.h and API description, etc (4 of 5).
...
Change-Id: I36955c54f55facfb31b403f12fe6fd16c789e167
2019-09-18 04:00:57 +03:00
Leonid Yuriev
89db804c1a
mdbx: refine geo-params management inside txn.
...
Change-Id: I70acfe4542ea3f8d878bdb7bfba422233dcce8ef
2019-09-17 23:53:38 +03:00
Leonid Yuriev
d1327b016d
mdbx: refine PID checking mdbx_env_close_ex() for closing-after-fork.
...
Change-Id: I5669b3477ef2e5fc30d6211668a01d3ac78ee163
2019-09-17 01:04:25 +03:00
Leonid Yuriev
86f2710c2e
mdbx: return MDBX_RESULT_TRUE/FALSE from mdbx_env_sync_ex().
...
Change-Id: Ia39051ef137df7892181d936e1139ab2a7c94ab4
2019-09-16 22:30:58 +03:00
Leonid Yuriev
e03addc8f9
mdbx: ensure to sync meta-mages in env_sync_ex().
...
Change-Id: I540c8353d47acc2e46d6c3a26cfe3e4f6d9249bf
2019-09-16 21:54:43 +03:00
Leonid Yuriev
78da9e52c4
mdbx: return consistency info from mdbx_env_stat().
...
Change-Id: Ia53259a8590118adf01b03a6eb7835c62376ad1f
2019-09-16 20:55:45 +03:00
Leonid Yuriev
0d4092f4ea
mdbx: add to env_copy() support for pipe/socket.
...
Change-Id: Ib2fc0249b494b885f28265f877de9953f089b403
2019-09-16 19:24:36 +03:00
Leonid Yuriev
b19e180fab
mdbx: refine mdbx.h and API description, etc (3 of 5).
...
Change-Id: I05890bdf2e29c6c5a4b1f861f5bfda920e970126
2019-09-16 02:25:06 +03:00
Leonid Yuriev
4022110955
mdbx: reset returning-by-pointer result on error.
...
Change-Id: I5e0aa1eae343dc9acc36a95e4f7e11104efc83ce
2019-09-15 22:10:39 +03:00
Leonid Yuriev
5f22a5568d
mdbx: allow MDBX_MAPASYNC for particular txn.
...
Change-Id: I0ed1a7567a3f7bfbae2bfa6995ad8f6c327d91a9
2019-09-15 22:10:15 +03:00
Leonid Yuriev
1402a511a4
mdbx: drop dup-defines MDBX_TXN_NOMETASYNC, MDBX_TXN_NOSYNC, MDBX_TXN_RDONLY. etc.
...
Change-Id: I7edef9477e15cb6c2291fe82c1b014ff81d2383a
2019-09-15 18:19:46 +03:00
Leonid Yuriev
70929d45fb
mdbx: refine mdbx.h for API description, etc (2 of 5).
...
Change-Id: I280ddbc619304c2a0367e25c8ca85eac5cd73d94
2019-09-13 04:26:35 +03:00
Leonid Yuriev
4bcc1eef09
mdbx: disallow multi-opening without MDBX_DBG_LEGACY_MULTIOPEN.
...
Change-Id: I0e11d686954bd8c89dac9a46b4c5e17bc0dd6419
2019-09-12 21:41:57 +03:00
Leonid Yuriev
c8928675c6
mdbx: automatically create database directory.
...
Change-Id: Ic1d4c9ce6f29924f5c112afc3065f08584307d39
2019-09-12 14:56:07 +03:00
Leonid Yuriev
1d08f9e673
mdbx: refine mdbx.h and error strings (1 of 5).
...
Change-Id: Iaa6c4afeb9268d916ef1e8e23fdf12b7f603869f
2019-09-12 14:18:10 +03:00
Leonid Yuriev
eb4159ac88
mdbx-posix: support to close environment after fork() from a child process.
...
Change-Id: I20ab9cf4525bfcacd10043e2afe7e1aa26a2af6c
2019-09-12 01:19:23 +03:00
Leonid Yuriev
4b979826ec
mdbx: fix update_gc() to avoid leaking values from uninit malloc'ed mem.
...
Change-Id: I5b98fc9f5d26ffdfe90af81d9fdd07f49c1e85c9
2019-09-12 00:09:25 +03:00
Leonid Yuriev
712bad5935
mdbx-cmake: avoid '-NOTFOUND' inside MDBX_BUILD_FLAGS.
...
Change-Id: Ia8974d0ffa092a5ffbfe553af49926c3532c88a3
2019-09-11 22:04:28 +03:00
Leonid Yuriev
8231aa5b47
mdbx-posix: avoid Coverity warnings (don't try to recover mutex if unlock failed).
...
Change-Id: Iaa5b567c810b7e3fd6f5003111e41b752d83b8bb
2019-09-11 21:47:31 +03:00
Leonid Yuriev
7d9d3528c5
mdbx-cmake: fix definitions prefix.
2019-09-11 21:32:25 +03:00
Leonid Yuriev
4ea1d2f8d2
mdbx: accept MDBX_EACCESS and MDBX_EPERM for without-LCK read-only mode.
...
Change-Id: I024243184c06ddf86bcc62d6e4b1b951d21789d5
2019-09-11 20:40:06 +03:00
Leonid Yuriev
6fc3b89f79
mdbx: add reader_check_timestamp info LCK.
...
Change-Id: I2f53b5996def8ff1d87a011fc662b94e2be3c467
2019-09-11 19:13:24 +03:00
Leonid Yuriev
0d8b59fa3b
mdbx: check readers while opening.
...
Change-Id: Ieefc78d0d3922e3f98efa557f8e67aada68c4841
2019-09-11 18:58:51 +03:00
Leonid Yuriev
8f08e1c7ed
mdbx: fix cross-build & qemu-testing issues.
...
Change-Id: I6b2343cc4e08c3cb706a190c4c515965182733a2
2019-09-11 18:58:51 +03:00
Leonid Yuriev
228a74c41d
mdbx-chk: refine/fix for MAX_DBI case.
...
Change-Id: Ie0deb701bcb35634951c8080d57294682937b5b7
2019-09-11 18:58:51 +03:00
Leonid Yuriev
d461ec1094
mdbx-ci: fix/refine Coverity build, show log file.
...
Change-Id: I248645b533ba334f9d4018b8487bdd62413be86e
2019-09-11 12:15:35 +03:00
Leonid Yuriev
17ba1f4d22
mdbx-cmake: fix/refine RPATH for tools.
...
Change-Id: Id97db43475b757f74eb5a5532390e0e65d610df0
2019-09-11 02:09:21 +03:00
Leonid Yuriev
5cfcc0e3c1
mdbx-cmake: add template for build amalgamated source code.
...
Change-Id: Ie0908ab62460eb51f2f050fcce915fe4e64f61ca
2019-09-11 02:09:21 +03:00
Leonid Yuriev
5e9e417cf6
mdbx-install: refine cmake-install, install man-pages.
2019-09-11 00:56:07 +03:00
Leonid Yuriev
acc6969594
mdbx-tools: minor refine mdbx_chk.
...
Change-Id: I71db479944a305f03019d985b91a39cd51ba9981
2019-09-10 19:28:07 +03:00
Leonid Yuriev
aa1c609c28
mdbx: set MIN_TXNID=1.
...
Change-Id: If67d371c0681d7b85886c83b423d1b9c039d18c3
2019-09-10 19:27:46 +03:00
Leonid Yuriev
7433436ec5
mdbx: add man-page for mdbx_chk, refine other.
...
Change-Id: I0c5026f0b753525ec5b21e11957c23bf570fbe0b
2019-09-10 19:01:39 +03:00
Leonid Yuriev
d1d1258591
mdbx-build: made 'config.h' optional.
...
Change-Id: Iafc968cb7000f77cf23169ce07b532386bbce029
2019-09-10 15:52:37 +03:00
Leonid Yuriev
e08787afca
mdbx-test: fix win32 build (minor warnings).
...
Change-Id: Ibe66ddcad98f21fd8dc508ea6bd43d4568266972
2019-09-10 13:41:37 +03:00
Leonid Yuriev
3ec081c187
mdbx-build: add 'make dist' target.
...
Change-Id: I72c2ff2f90e9da4664bf542761fe445bb713a67a
2019-09-10 02:28:41 +03:00
Leonid Yuriev
e7095e9ada
mdbx: remove UTF8-BOM (preparation for 'make dist').
...
Change-Id: I2d0ccc9f7bbed6d57b2fe6ef156f33531a4eeb69
2019-09-10 02:18:50 +03:00
Leonid Yuriev
be72cd81dc
mdbx: add MDBX_MIN_PAGESIZE & MDBX_MAX_PAGESIZE.
...
Change-Id: I66ba4b637ed5acabb734bbd380e618e01019ade2
2019-09-10 02:13:33 +03:00
Leonid Yuriev
fc4f5ffa45
mdbx: replace 'impending changes warning' with MithrilDB announce.
...
Change-Id: I698a5d16ff8769a08a19b34abefa9a888ee9bf82
2019-09-10 02:10:22 +03:00
Leonid Yuriev
449307a69f
mdbx-build: sourcery pinning (but cmake requires manually config-files removal for now).
2019-09-09 14:29:05 +03:00
Leonid Yuriev
0667f4f211
mdbx-windows: define the dll's entry point only depending on the MDBX_AVOID_CRT option.
2019-09-09 11:32:50 +03:00
Leonid Yuriev
1829a2a5c1
mdbx: workaround for FreeBSD shared mutexes initialization.
...
- pass inprocess_neighbor into mdbx_lck_init().
- don't perform mutexes initialization if LCK already used in the current process.
- don't perform additional in-process mutex initialization if LCK used in any other process(es), except for FreeBSD.
2019-09-04 11:46:03 +03:00
Leonid Yuriev
9ab5802aeb
mdbx: remove obsolete QtCreator files.
2019-09-04 03:51:18 +03:00
Leonid Yuriev
a45c0d9026
mdbx-posix: minor fix lck_op().
2019-09-04 03:51:18 +03:00
Leonid Yuriev
4969d75ef3
mdbx-test: add Darwin/OSX support to long_stochastic-script.
2019-09-04 03:09:18 +03:00