Leonid Yuriev
|
046dc02f73
|
mdbx: make MDBX_STRINGIFY macro public.
|
2021-07-26 03:53:11 +03:00 |
|
Leonid Yuriev
|
c2fa453725
|
mdbx-test: fix keygen-related issue.
Fixes https://github.com/erthink/libmdbx/issues/127
|
2021-07-26 03:52:46 +03:00 |
|
Leonid Yuriev
|
5fa2e30709
|
mdbx-test: add exclusive and accede options for DB operation mode.
|
2021-07-21 02:23:36 +03:00 |
|
Leonid Yuriev
|
c81ab53eb2
|
mdbx-test: add usage for long-stochastic scripts.
|
2021-07-19 12:42:57 +03:00 |
|
Leonid Yuriev
|
1995754bc3
|
mdbx-test: add workarounds for QEMU (all 32-bit, Alpha, Sparc).
|
2021-07-13 17:38:08 +03:00 |
|
Leonid Yuriev
|
f749b3deee
|
mdbx-test: minor refine stochastic script to be able use arithmetic in the arguments.
|
2021-07-13 13:51:24 +03:00 |
|
Leonid Yuriev
|
de4a6baf80
|
mdbx-test: add --db-upto-mb option for stochastic script.
|
2021-07-13 13:49:33 +03:00 |
|
Leonid Yuriev
|
a7becdc6b3
|
mdbx-test: add --size-upper-upto for simplify cross-testing 32-bit code with QEMU on 64-bit host.
|
2021-07-13 13:48:12 +03:00 |
|
Леонид Юрьев (Leonid Yuriev)
|
c7e05f63e6
|
mdbx-test: remove vector[...] from Valgrind's suppressions.
|
2021-07-09 17:44:27 +03:00 |
|
Leonid Yuriev
|
d65305564f
|
mdbx-test: more suppressions for Valrgind (for case db-page less than systen-page).
|
2021-07-09 17:44:27 +03:00 |
|
Leonid Yuriev
|
660c302525
|
mdbx-test: adapt long-stochastic script for old bash version (Mac OS).
|
2021-07-09 17:44:27 +03:00 |
|
Leonid Yuriev
|
d7aad3a7cf
|
mdbx-make: distinct smoke* and test* targets.
|
2021-07-09 17:44:27 +03:00 |
|
Leonid Yuriev
|
682632756f
|
mdbx-test: add options support for long-stochastic script.
|
2021-07-09 17:44:27 +03:00 |
|
Leonid Yuriev
|
62889b5b7f
|
mdbx-test: use mdbx::buffer from mdbx++.
|
2021-07-04 13:23:53 +03:00 |
|
Leonid Yuriev
|
c4a696be1d
|
mdbx-test: add workaround for CLANG/LLVM STL stupidity of std::set<> .
|
2021-07-04 00:11:04 +03:00 |
|
Leonid Yuriev
|
68a164da2b
|
mdbx-test: add mdbx_cursor_eof() checking.
Related to https://github.com/erthink/libmdbx/issues/207.
|
2021-06-17 21:44:48 +03:00 |
|
Leonid Yuriev
|
06aa596519
|
mdbx-test: fix minor warnings from old GCC versions.
|
2021-06-17 21:43:15 +03:00 |
|
Leonid Yuriev
|
ebab75642e
|
mdbx: add public MDBX_MAYBE_UNUSED .
This also should fix C++ mdbx API build by MSVC 2015.
|
2021-05-11 21:07:40 +03:00 |
|
Leonid Yuriev
|
7c45f75010
|
mdbx-test: update Valgrind's suppressions for actual function names.
|
2021-05-08 20:02:09 +03:00 |
|
Leonid Yuriev
|
5ae120af80
|
mdbx-windows: more crutches for MinGW.
More for https://github.com/erthink/libmdbx/issues/155
Change-Id: I7de6122ff160372b2dcfd2a0a26e332cb52d0560
|
2021-05-08 18:38:44 +03:00 |
|
Leonid Yuriev
|
ab1fc94a5b
|
mdbx-windows: fix build for Windows XP/2000 (_WIN32_WINNT < 0x0600).
Related to https://github.com/erthink/libmdbx/issues/155
Change-Id: Ibd795817e05b6da39ef270ce7b55b31d963d07b0
|
2021-05-08 18:38:26 +03:00 |
|
Leonid Yuriev
|
6b6165cdeb
|
mdbx: rename internal defines/macros to distinguish it from build options.
Change-Id: I42fe240e6ddd5d34c8fec38633849ebdcce0e116
|
2021-04-30 01:59:48 +03:00 |
|
Leonid Yuriev
|
a4db174b58
|
mdbx-test: add --random-writemap=no to long-stochastic.
Change-Id: If19a966493f706f86335699d0de0dfc2865e20e1
|
2021-04-23 16:05:47 +03:00 |
|
Leonid Yuriev
|
097c3ea059
|
mdbx-test: fix minor Solaris/SunOS warnings.
|
2021-04-20 22:09:48 +03:00 |
|
Leonid Yuriev
|
e412d1a19e
|
mdbx-test: don't use make check from long-stochastic.
Change-Id: I3fd9f0b1b86ffec056a4fb3980f8692d80d5ebd4
|
2021-04-18 19:39:51 +03:00 |
|
Leonid Yuriev
|
28affe79d8
|
mdbx-test: output the signal name if killed/coredumped.
Change-Id: I51e70daf89149ecbe72924fc9f105ea072574a23
|
2021-04-14 19:27:13 +03:00 |
|
Leonid Yuriev
|
0c3fb1804e
|
mdbx-test: add SPECULUM_CURSORS build macro/option.
Change-Id: I5dc9ccde725ce49db4fb0e94be02e9c7b48f1291
|
2021-03-28 23:34:41 +03:00 |
|
Leonid Yuriev
|
19575e799f
|
mdbx-test: add stochastic reverse mode to the append scenario.
Change-Id: If506aff63b6c517922ae621f7805b58c9282e946
|
2021-03-28 23:34:41 +03:00 |
|
Leonid Yuriev
|
ecc755881e
|
mdbx: move key generator linearization into actor::review_params() .
Change-Id: I35492f64b6b5eae9702d26f3e0ba9df31f57a4af
|
2021-03-16 02:44:28 +03:00 |
|
Leonid Yuriev
|
f4781b63a8
|
mdbx-test: add params-review by actors.
Change-Id: I79fb6cb19c73facd8cc8cefc3bf3101e9d0c672c
|
2021-03-16 01:45:49 +03:00 |
|
Leonid Yuriev
|
b48958c177
|
mdbx-test: add registry for test cases.
Change-Id: Ie9f069dbe6846af170628945db9897ec690fc3da
|
2021-03-15 20:52:18 +03:00 |
|
Leonid Yuriev
|
f3356d1f86
|
mdbx-test: add --keylen=N and --datalen=N options.
Change-Id: I7bb4fdbc3ab5445ca3ecc8065eb90620d1958a1e
|
2021-03-15 14:20:07 +03:00 |
|
Leonid Yuriev
|
b57a338546
|
mdbx-test: minor refactor mdbx_logger() .
Change-Id: I058be7e01b5fc031610363bf6747ae7f62ba4c67
|
2021-01-31 23:20:49 +03:00 |
|
Leonid Yuriev
|
bc33875a9e
|
mdbx-test: more iterations and steps for long-stochastic scripts.
|
2021-01-30 02:28:04 +03:00 |
|
Leonid Yuriev
|
251eda6fb8
|
mdbx: HNY!
Change-Id: I86c7028001b349e3d06b837dc8e2f7e60fb3b1a2
|
2021-01-26 07:27:13 +03:00 |
|
Leonid Yuriev
|
e1a022be27
|
mdbx-tests: more wilcards for Valgrind's suppressions.
Change-Id: I1fbc1f5c38dd71d5937b8d0df813b05fdf1a6c43
|
2021-01-21 22:45:28 +03:00 |
|
Leonid Yuriev
|
d26ae6875b
|
mdbx: fix assertion to avoid false-positive UB detection by CLANG/LLVM.
Assume this resolve https://github.com/erthink/libmdbx/issues/153
Change-Id: I02ceba1063a338b6dedf17629b51b3466358b0b8
|
2021-01-21 22:45:28 +03:00 |
|
Leonid Yuriev
|
764dab90fc
|
mdbx-tests: set MALLOC_CHECK environment varilables.
Change-Id: Ic5d2a4b5c69d05111051432996f5382bb73caba1
|
2021-01-19 23:53:16 +03:00 |
|
Leonid Yuriev
|
760f1654c2
|
mdbx-test: minor extension for jitter test case.
Trivial test for https://github.com/erthink/libmdbx/issues/146.
Change-Id: If5b365ebedf8609c9ec12569d5e5173799379195
|
2020-12-17 17:41:24 +03:00 |
|
Leonid Yuriev
|
75e1da1f2d
|
mdbx-test: fix speculum-check iterator.
Change-Id: Idaeea908fdcd7b2c1248ae10eeb7f394d69bb987
|
2020-11-19 17:28:47 +03:00 |
|
Leonid Yuriev
|
5619fefe0a
|
mdbx-test: fix actor_poll() against the EBADF error from pipe.
|
2020-11-17 15:40:02 +03:00 |
|
Leonid Yuriev
|
94fae97f88
|
mdbx: avoid paranoid CLANG's enum ops UB.
|
2020-11-17 15:00:51 +03:00 |
|
Leonid Yuriev
|
b1008b1256
|
mdbx-test: use MDBX_SET_LOWERBOUND .
Change-Id: I4f6efab69996d4678a78024337a6698a65c2386b
|
2020-11-17 08:13:46 +03:00 |
|
Leonid Yuriev
|
7cdbe1badb
|
mdbx-test: extending speculum mode for cursors tracking verification.
Change-Id: I44786efcee6feb1c7d414c925717d08ed9d94e20
|
2020-11-16 07:07:39 +03:00 |
|
Leonid Yuriev
|
96143a9bb2
|
mdbx-test: always check speculum its own operations.
Change-Id: I38e668ce70f0e1ccb7bf2692a3b406fed9f87f53
|
2020-11-16 07:07:38 +03:00 |
|
Leonid Yuriev
|
2120e396fc
|
mdbx-test: fix logging typo.
Change-Id: I0e6c71c62d5b0ff8939ff5b08645bb8347637bec
|
2020-10-26 14:37:16 +03:00 |
|
Leonid Yuriev
|
efe7cf2a95
|
mdbx-test: rework append testcase.
Change-Id: Ic4571bf1d9ccbe70536cd80cb3d88d55da03b31d
|
2020-10-26 03:52:07 +03:00 |
|
Leonid Yuriev
|
1b21703c7b
|
mdbx-test: rework/refine key-value generation.
Change-Id: I0da7c708cc18785f804112483bb86921fefdb8eb
|
2020-10-26 03:52:07 +03:00 |
|
Leonid Yuriev
|
3c55a27230
|
mdbx-test: add flipcoin_n() .
Change-Id: I30463c244f44632f0dae13539c5855cba705e639
|
2020-10-26 01:30:35 +03:00 |
|
Leonid Yuriev
|
73c2e5355f
|
mdbx-test: add log_pair() (minor).
Change-Id: Ifdb762e79b14df0608b5b298941114ada4bc0095
|
2020-10-26 00:55:32 +03:00 |
|
Leonid Yuriev
|
56809cb711
|
mdbx-test: more auto-adjustment of min/max length of key/values.
Change-Id: I22ac3845a341f8f4414ac0719f1a4c007f035b60
|
2020-10-26 00:42:21 +03:00 |
|
Leonid Yuriev
|
1db0a6fc92
|
mdbx-test: add cursor_renew() .
Change-Id: I7d7dac646aba7535391bd7585025e43cdd57d21c
|
2020-10-24 00:56:26 +03:00 |
|
Leonid Yuriev
|
fe8a101960
|
mdbx-test: minor fix nested case (avoid assertion failure).
Change-Id: Iad2bfc41b726e0737acda5afb354c9d70b372c86
|
2020-10-21 02:24:39 +03:00 |
|
Leonid Yuriev
|
b964b2abf5
|
mdbx: more spelling.
Change-Id: I45e42c1d8ef51f910b8e41279b92e54a6b2ce772
|
2020-10-21 01:00:48 +03:00 |
|
Leonid Yuriev
|
9afbde9b0a
|
mdbx-test: use mdbx_env_delete() in a test and drop aux functions.
Change-Id: I3b0e409c23067abcaefd4f9c5627df804382b348
|
2020-10-10 00:59:12 +03:00 |
|
Leonid Yuriev
|
7fcf94be64
|
mdbx-test: don't wait for long-lived readers until DB growth.
|
2020-09-30 16:45:19 +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
|
cea56c3840
|
mdbx-cmake: makes an C++ compiler optional.
Change-Id: Id1445a95e4a458012e77e1e505563025f0471487
|
2020-09-27 17:01:59 +03:00 |
|
Leonid Yuriev
|
12770cae88
|
mdbx-test: cleanup for without MDBX_NOSUBDIR case.
Change-Id: I50d6640108ca229e4919ea96469152d2533f9cab
|
2020-09-27 17:01:59 +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
|
e86bc5b901
|
mdbx-test: avoid looping on MIPS under QEMU.
Change-Id: I0e91bdd21441634dd1a6cfcd00a2e8b9f99034aa
|
2020-09-21 17:18:07 +03:00 |
|
Leonid Yuriev
|
27eef5f991
|
mdbx-test: extends long-stochastic script.
Change-Id: Ifc700c8b456d27d4dad285b88a05700835eee201
|
2020-09-21 17:18:07 +03:00 |
|
Leonid Yuriev
|
b97edde1f7
|
mdbx-test: add Valgrind-suppression for msync() from mdbx_mapresize().
Change-Id: I1e303b71382f7d130abdedd53435473316ebf19f
|
2020-09-21 17:18:01 +03:00 |
|
Leonid Yuriev
|
deb41a10d7
|
mdbx-test: add Valgrind-suppressions for single-page flush by pwrite().
Change-Id: Id4cc57f936e9f0aaafee72c2997ff0776555ee15
|
2020-09-21 03:29:38 +03:00 |
|
Leonid Yuriev
|
cacc4aa829
|
mdbx++: changes after codereview-1 (part 2 of 2).
Change-Id: I8e1ca134bb8c5d447895f116247dfd12fa6871f0
|
2020-09-14 21:19:56 +03:00 |
|
Leonid Yuriev
|
17d9ed31f9
|
mdbx: support for building by GCC 4.8
Change-Id: I4ad5c5be60233ae68936e0cbca1a0f01ec786bad
|
2020-09-13 21:22:41 +03:00 |
|
Leonid Yuriev
|
58bcfb006e
|
mdbx: add mdbx_printf_args() macro.
Change-Id: I7fca72f8cc912d8644ecf149b755c78fb3cc7e23
|
2020-09-10 15:35:43 +03:00 |
|
Leonid Yuriev
|
88a4b8cb9b
|
mdbx++: Initial C++ API (some extra methods are not implemented).
Change-Id: I0478d0c94dcd12b52916e87815e5731817407c3c
|
2020-08-28 16:45:30 +03:00 |
|
Leonid Yuriev
|
ffa10a25d6
|
mdbx: use enums & bool in the C API.
Change-Id: I952f578cceb7d02ade16f545d47245d4d9106441
|
2020-08-06 01:48:56 +03:00 |
|
Leonid Yuriev
|
1e7a1da14e
|
mdbx: separate transaction flags.
Change-Id: Ib9a0f6946e1ecf35059e2dccc91319ae130c9f9b
|
2020-08-06 01:48:56 +03:00 |
|
Leonid Yuriev
|
5e43ee61a2
|
mdbx: drop/deprecate MDBX_MAPASYNC.
Change-Id: I472f97f568a32325eb056c8ee4d2f2350a473bda
|
2020-08-06 01:48:56 +03:00 |
|
Leonid Yuriev
|
a902538e34
|
mdbx: more Doxygen tags (almost done).
Change-Id: I696e717e37a905f68af059c51f9df327c257332e
|
2020-07-24 22:49:21 +03:00 |
|
Leonid Yuriev
|
b6085afb5a
|
mdbx-test: minor fix for MSVC-2015.
Change-Id: I631009ffe0b04428026492d1cab691b58fdd160a
|
2020-07-08 03:13:07 +03:00 |
|
Leonid Yuriev
|
9720ed39f5
|
mdbx: using enum instead of #define for flags/modes.
Resolve https://github.com/erthink/libmdbx/issues/108
Change-Id: I45897300375d2b5b9361aaba81dadcf9801fe3cf
|
2020-07-08 02:26:46 +03:00 |
|
Leonid Yuriev
|
2e0d2e65af
|
mdbx: fix minor typos.
|
2020-07-07 23:16:43 +03:00 |
|
Leonid Yuriev
|
0fb127b935
|
mdbx-test: add --random-writemap[=YES|no] option.
Change-Id: Ie83f64d4a7e199f828540f029c2c47deddb05c01
|
2020-07-06 14:35:41 +03:00 |
|
Leonid Yuriev
|
2ee45b1820
|
mdbx-test: using std::atomic<> instead of sig_atomic_t.
Change-Id: I37d0c2768ec54ddd3c529d4b9a29f66df6ca265e
|
2020-06-26 03:33:53 +03:00 |
|
Leonid Yuriev
|
95199c754a
|
mdbx-cmake: fixes for old C/C++ compilers and/or CMake.
|
2020-06-26 03:28:15 +03:00 |
|
Leonid Yuriev
|
171a254425
|
mdbx-test: use banner tool only when available.
Change-Id: I4b9bffffc69e664fbca8346312934534ad7579e7
|
2020-06-20 19:03:10 +03:00 |
|
Leonid Yuriev
|
21fba6577a
|
mdbx-test: fix clang/glibcxx incompatibility.
Change-Id: I59c4f486431126396dc59a84914d78e0eeff1f4c
|
2020-06-04 19:57:07 +03:00 |
|
Leonid Yuriev
|
c9f461c4eb
|
mdbx-test: don't use --speculum option for nops > 10K.
Change-Id: I431e2de1882fab8a176b51aa9aa19cb409559181
|
2020-05-28 00:42:15 +03:00 |
|
Leonid Yuriev
|
7f920b5cfc
|
mdbx-test: minor refine comments & keygen-params ranges.
Change-Id: I8ebb0647d4d5a8637d57a39e9ddee4727bffb18f
|
2020-05-26 18:40:10 +03:00 |
|
Leonid Yuriev
|
ffa29f9466
|
mdbx-test: 17Gb DB size for long-stochastic.
|
2020-05-26 15:46:52 +03:00 |
|
Leonid Yuriev
|
02ebd4db78
|
mdbx-test: cosmetics (use banner) for long-stochastic.
|
2020-05-26 15:11:59 +03:00 |
|
Leonid Yuriev
|
f7b8b699b8
|
mdbx-test: engage '--speculum' option to long-stochastic.
Change-Id: Ie43460752abc6590b9abce995290d8a290759a1c
|
2020-05-25 14:53:38 +03:00 |
|
Leonid Yuriev
|
782429487f
|
mdbx-test: add '--keygen.zefofill=NO' option.
Change-Id: Iec45ab7a79846acc66cb034000ff3c146921e02a
|
2020-05-25 14:53:38 +03:00 |
|
Leonid Yuriev
|
2c8f115400
|
mdbx-test: fix nops_completed type.
Change-Id: I9b9930bc26d4301d0da0fdf59bc70befc37e2f6a
|
2020-05-25 14:53:38 +03:00 |
|
Leonid Yuriev
|
4da4ab3650
|
mdbx-test: alter/refine iteration loops.
Change-Id: I78657b0c736d84dc3fbb75ad28a9465cad0ff4b2
|
2020-05-25 14:53:38 +03:00 |
|
Leonid Yuriev
|
bfad1f7086
|
mdbx-test: redesign fitting internal parameters of "ttl" & "nested" testcases.
Change-Id: I3ade4ba9d78c00ff6911c3e35738f7dcbf63de64
|
2020-05-25 14:53:38 +03:00 |
|
Leonid Yuriev
|
d83a765dbe
|
mdbx-test: don't fail "ttl" & "nested" testcases on key-space overflow.
Change-Id: I6788a02ecd88bec086b1d12c3d9246c8de59ed29
|
2020-05-25 14:53:38 +03:00 |
|
Leonid Yuriev
|
a9705c4f34
|
mdbx-test: print reached depth from long-stochastic script.
Change-Id: I4a2a17d5e3fc833038f490a8b3a818843c0fc83a
|
2020-05-25 14:53:38 +03:00 |
|
Leonid Yuriev
|
f7aac55374
|
mdbx-test: output b+trees depths from 'hill' testcase.
Change-Id: I69451096186bf35ee5816f6c7f5a101781f58214
|
2020-05-25 14:53:38 +03:00 |
|
Leonid Yuriev
|
4dc7f0cb4b
|
mdbx-test: rework cycling for ttl & nested testcases.
Change-Id: If2f83187bd7998c2ddc7e2487a17d13648241b9c
|
2020-05-25 14:53:38 +03:00 |
|
Leonid Yuriev
|
a85ae436eb
|
mdbx-test: simplify txn commit/abort path.
Change-Id: I86780a43f9f7b1a52dfa97168ad53cf7389d5e2e
|
2020-05-25 14:53:38 +03:00 |
|
Leonid Yuriev
|
2e7e1079c4
|
mdbx-test: auto-reducing nops for nested and ttl testcases.
Change-Id: Ie060c580e87becbc033611e00532449522f3adbe
|
2020-05-25 14:53:35 +03:00 |
|
Leonid Yuriev
|
3990f1cc07
|
mdbx-test: implement 'speculum' checking for ttl testcase.
Change-Id: Ic825711893f782a71e75447575ac76644ac3f482
|
2020-05-23 01:34:50 +03:00 |
|
Leonid Yuriev
|
cefbe02130
|
mdbx-test: add dump-load.sh script.
|
2020-05-15 22:03:29 +03:00 |
|
Leonid Yuriev
|
0ee51f816e
|
mdbx-test: revert removal of the vector[...] pattern to avoid issues from old Valgrind.
Change-Id: Idb16591254cf7f89b5cb9971aef7bb107736ca80
|
2020-05-15 11:30:35 +03:00 |
|
Leonid Yuriev
|
68241762e7
|
mdbx-test: implement cleanup().
|
2020-05-15 11:30:35 +03:00 |
|