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
Leonid Yuriev
a55cffaae8
mdbx-osx: ignore fcntl(F_RDADVISE) error (RAM-disk, etc).
2019-09-04 03:09:18 +03:00
Leonid Yuriev
7fc4c4fccb
mdbx-test: fix legacy 'pcrf' test warnings.
2019-09-04 03:09:18 +03:00
Leonid Yuriev
b8ac1daae0
mdbx-tools: print git-tree while show version info.
2019-09-03 23:43:29 +03:00
Leonid Yuriev
7c17e314aa
mdbx-ci: fix log/artifacts path.
2019-09-03 21:18:05 +03:00
Leonid Yuriev
6495e2f87c
mdbx-windows: add cmake-generation of extra-import-library for ntdll.dll
2019-09-03 21:18:05 +03:00
Leonid Yuriev
967900e2e9
mdbx-cmake: refine/fix MDBX_BUILD_TARGET for Windows.
2019-09-03 19:13:26 +03:00
Leonid Yuriev
263837094e
mdbx-build: refine CMake scripts, add build options.
...
Change-Id: Ie3db2f6439d5cc7ef3cd9ebb5b8e5d5d34f743dd
2019-09-03 02:56:01 +03:00
Leonid Yuriev
874418a301
mdbx: rework POSIX-lck and merge with Linux-lck.
...
Change-Id: Id8fbc81b9a2ad3a3a7499ecf9a012314e1f8062a
2019-09-03 02:43:14 +03:00
Leonid Yuriev
098f8a0d77
mdbx: add MDBX_READERS_LIMIT.
...
Change-Id: I2ee97004c084aeb6290c56b8f6415adc464a1bcb
2019-09-03 02:43:14 +03:00
Leonid Yuriev
6f39d8228d
mdbx-cmake: add MDBX_ALLOY_MODE option.
...
Change-Id: I486f737fc24a48ecd3444859bee2132c9606aef5
2019-09-03 02:43:09 +03:00
Leonid Yuriev
344a4e7138
mdbx-ci: fix exe-paths for AppVeyor.
2019-09-03 02:33:59 +03:00
Leonid Yuriev
6585d58c03
mdbx-cmake: single output-directory for targets.
2019-09-03 02:33:59 +03:00
Leonid Yuriev
d974ca322b
mdbx-test: remove std::unary_function<>
for C++17.
2019-09-03 02:33:59 +03:00
Leonid Yuriev
5a87faf9af
mdbx-build: start using CMake (incomplete; no properly installation for now).
2019-09-03 02:33:57 +03:00
Leonid Yuriev
f81374a9ce
mdbx-build: amalgamation.
...
Change-Id: Ic32de6ee119df2bc12136b882f4f7cabaa1314a9
2019-09-03 02:30:55 +03:00
Leonid Yuriev
b42462c484
mdbx: minor/paranoid fix mdbx_strerror().
2019-08-31 13:34:05 +03:00
Leonid Yuriev
113b29e68d
mdbx: add LCK-tracking to resolve double-open issue with POSIX-filelocks.
...
Change-Id: I29377000e4dde3c43527302b55d0daec58b709f5
2019-08-31 00:55:15 +03:00