Леонид Юрьев (Leonid Yuriev)
5c52adf358
mdbx-test: расширение набора режимов перебираемых скриптом test/long_stochastic.sh
2023-02-28 00:50:48 +03:00
Leonid Yuriev
6d74b10db1
mdbx: поддержка ASAN (Address Sanitizer) при сборке посредством MSVC.
2023-02-28 00:50:30 +03:00
Леонид Юрьев (Leonid Yuriev)
5f690bbc4f
mdbx-test: по-умолчанию работа в режиме MDBX_SYNC_DURABLE
.
2023-02-27 16:59:10 +03:00
Леонид Юрьев (Leonid Yuriev)
25e958f081
mdbx: устранение всех предупреждений статического анализатора MSVC (все несущественные или ложные).
2023-02-11 00:26:06 +03:00
Леонид Юрьев (Leonid Yuriev)
c01f025bfa
mdbx: обновление года на 2023.
2023-01-16 16:32:02 +03:00
Леонид Юрьев (Leonid Yuriev)
a98c73f4f6
mdbx-cmake: вызов mdbx_chk в режиме чтения-записи для проверки MDBX_EXCLUSIVE в этом режиме.
2023-01-12 17:01:27 +03:00
Леонид Юрьев (Leonid Yuriev)
702c67fc38
mdbx-test: доработка append-теста.
...
- добавлен speculum-контроль;
- с вероятностью 1/8 генерируются не-последовательные/не-упорядоченные ключи для проверки возврата MDBX_EKEYMISMATH;
- игнорирование расхождение хеша последовательности для не-последовательных ключей.
2023-01-09 23:51:34 +03:00
Леонид Юрьев (Leonid Yuriev)
24f2e878c1
mdbx: устранение несущественных предупреждений Valgrind.
2023-01-03 19:28:11 +03:00
Леонид Юрьев (Leonid Yuriev)
db83bd34d2
mdbx-test: чтение актуальных флагов режима работы БД.
2022-12-04 18:10:50 +03:00
Леонид Юрьев (Leonid Yuriev)
d6b9a71825
mdbx-test: добавление исключений Valgrind для измененного кода.
2022-11-28 23:56:42 +03:00
Леонид Юрьев (Leonid Yuriev)
61eafe80c1
mdbx: использование https://libmdbx.dqdkfa.ru/dead-github для удаленных issues.
2022-11-23 01:18:25 +03:00
Леонид Юрьев (Leonid Yuriev)
70e8006776
mdbx-docs: перенаправление github-ссылок на web-archive.
2022-11-10 15:54:31 +03:00
Леонид Юрьев (Leonid Yuriev)
90f39c88a0
mdbx-test: add --dont-check-ram-size
option to stochastic scripts.
2022-11-10 10:54:14 +03:00
Леонид Юрьев (Leonid Yuriev)
bc80fbbeea
mdbx-test: fix stochastic scripts after prev commit.
2022-11-10 10:53:14 +03:00
Леонид Юрьев (Leonid Yuriev)
144cbbabb8
mdbx-test: поддержка MinGW в скриптах тестирования для CI.
2022-11-08 20:39:44 +03:00
Леонид Юрьев (Leonid Yuriev)
c270306580
mdbx-windows: уточнение проверок макросов MinGW и устранение предупреждений.
2022-11-08 20:39:44 +03:00
Леонид Юрьев (Leonid Yuriev)
d315a9255a
mdbx-test: смена расширения у C++ исходников.
2022-11-08 20:39:44 +03:00
Леонид Юрьев (Leonid Yuriev)
623ab21707
mdbx-cmake: совместимость с CMake 3.0.2 для CI на старых системах.
2022-11-07 23:37:27 +03:00
Леонид Юрьев (Leonid Yuriev)
9cbd4e63ca
mdbx-test: минорное уточнение подсказки --help
.
2022-11-04 16:21:13 +03:00
Леонид Юрьев (Leonid Yuriev)
7902b97a3d
mdbx-test: простая проверка warmup.
2022-10-24 11:37:57 +03:00
Леонид Юрьев (Leonid Yuriev)
c4beb5a4a0
mdbx-test: не вызываем sudo
при отсутствии.
2022-10-13 19:28:01 +03:00
Леонид Юрьев (Leonid Yuriev)
dd9780606b
mdbx-test: небольшие правки скрипта long_stochastic.sh
для работы в Windows.
2022-10-10 21:59:51 +03:00
Леонид Юрьев (Leonid Yuriev)
688ec3e85c
mdbx-test: добавление исключений Valgrind для нового кода.
2022-10-10 13:56:57 +03:00
Леонид Юрьев (Leonid Yuriev)
ae8e373143
mdbx-test: больше winnt-статусов как coredump.
2022-10-10 13:56:57 +03:00
Леонид Юрьев (Leonid Yuriev)
559f3005ca
mdbx-test: чуть больше логирования ошибок.
2022-10-10 13:56:57 +03:00
Леонид Юрьев (Leonid Yuriev)
474391c83c
mdbx: поддержка асинхронного ввода-вывода для Windows и подготовка к io_ring
(объединённые коммиты и исправления).
2022-10-06 20:35:07 +03:00
Леонид Юрьев (Leonid Yuriev)
18e557c6e8
mdbx: rename internal functions, types and macros (to be closer to MithrilDB).
2022-08-11 12:33:56 +03:00
Леонид Юрьев (Leonid Yuriev)
ac4b6d7121
mdbx-test: always engage MDBX_DBG_DUMP.
2022-07-11 20:29:18 +03:00
Леонид Юрьев (Leonid Yuriev)
b29c15f919
mdbx: merge branch 'master' into devel
.
2022-07-09 17:34:25 +03:00
Леонид Юрьев (Leonid Yuriev)
61d0d63ac2
mdbx-test: refine/fix batch-get testcase for large page size (i.e. when more pairs per page).
2022-07-09 13:30:40 +03:00
Леонид Юрьев (Leonid Yuriev)
e9a1042cc2
mdbx-test: add --pagesize NN
option to long-stotastic script.
2022-07-09 13:30:40 +03:00
Леонид Юрьев (Leonid Yuriev)
f7f9eaff95
mdbx-test: update Valgrind-suppressions for modern GCC.
2022-07-09 13:30:13 +03:00
Леонид Юрьев (Leonid Yuriev)
acce7d4b16
mdbx-test: remove obsolete coalesce
option.
2022-06-27 12:37:29 +03:00
Леонид Юрьев (Leonid Yuriev)
cdfaad18a2
mdbx-test: fix minor lcc 1.26 warning.
2022-06-12 20:19:06 +03:00
Леонид Юрьев (Leonid Yuriev)
9285db6ec2
mdbx-test: add workaround for modern libstd++ with CLANG < 4.x
2022-06-12 20:09:27 +03:00
Леонид Юрьев (Leonid Yuriev)
b6138c39f0
mdbx: reorganize internal includes.
2022-06-02 20:35:40 +03:00
Леонид Юрьев (Leonid Yuriev)
535ad41ae6
mdbx: made internal noop
macro compatible with MSVC.
2022-06-02 20:35:40 +03:00
Леонид Юрьев (Leonid Yuriev)
f91dbc6864
mdbx: last fix 32-to-64 warnings from Apple's CLANG 13.
2022-05-24 12:34:19 +03:00
Леонид Юрьев (Leonid Yuriev)
5d2eb580fd
mdbx: more minor fixes 32-to-64 warnings from Apple's CLANG 13.
2022-05-19 13:11:25 +03:00
Леонид Юрьев (Leonid Yuriev)
21e1dc3248
mdbx: fix minor warnings from modern Apple's CLANG.
2022-05-15 23:42:57 +03:00
Леонид Юрьев (Leonid Yuriev)
42f1abd7e9
mdbx-cmake: fix/refine --allow-multiple-definition
as workaround for std::filesystem
and LCC < 1.25.23
2022-04-22 23:03:58 +03:00
Леонид Юрьев (Leonid Yuriev)
b327cafe1a
mdbx-cmake: seeding cmake tests.
2022-04-22 22:07:42 +03:00
Леонид Юрьев (Leonid Yuriev)
03e7e3be74
mdbx-cmake: avoid tests with mdbx_chk
when MDBX_BUILD_TOOLS=OFF
.
2022-04-22 18:07:51 +03:00
Леонид Юрьев (Leonid Yuriev)
1ec5687d36
mdbx: fix build for ARM/ARM64 by MSVC.
2022-04-22 17:18:58 +03:00
Леонид Юрьев (Leonid Yuriev)
e3b0602664
mdbx-cmake: set loglevel=verbose
for smoke test to speedup CI.
2022-04-22 09:32:47 +03:00
Леонид Юрьев (Leonid Yuriev)
abc2341cb4
cmake-test: avoid run tests in case cross-compilation without emulator.
2022-04-21 20:35:45 +03:00
Леонид Юрьев (Leonid Yuriev)
03f9ed8820
mdbx-cmake: add a few smoke-like tests.
2022-04-21 20:35:45 +03:00
Леонид Юрьев (Leonid Yuriev)
e875d2128e
mdbx-test: add --loglevel=
option.
2022-04-21 20:35:41 +03:00
Леонид Юрьев (Leonid Yuriev)
6d15836171
mdbx: use todo4recovery://erased_by_github/
for dead (or temporarily lost) resources.
2022-04-21 15:34:53 +03:00
Леонид Юрьев (Leonid Yuriev)
ed23956e11
mdbx: basic cleanup from dead github and another corrupted services.
2022-04-20 06:42:16 +03:00
Леонид Юрьев (Leonid Yuriev)
5ebcb90620
mdbx-cmake: rework linking detection for std::filesystem
.
2022-04-07 21:57:49 +03:00
Леонид Юрьев (Leonid Yuriev)
c9dfb7d8c2
mdbx-cmake: add workaround for LCC 1.25 bug of class inline static constexpr
member field definition.
2022-04-06 12:43:58 +03:00
Леонид Юрьев (Leonid Yuriev)
f054ceeab8
mdbx-cmake: add linking with stdc++fs
for LCC < 1.26
2022-04-06 12:43:58 +03:00
Леонид Юрьев (Leonid Yuriev)
6f37c8e57f
mdbx: resolve all warnings from MinGW.
2022-03-30 18:13:08 +03:00
Леонид Юрьев (Leonid Yuriev)
33a9395afe
mdbx: use MDBX_EPERM
to indicate that the geometry cannot be updated instead of `MDBX_RESULT_TRUE'.
2022-03-29 18:57:26 +03:00
Leonid Yuriev
7654c9d9a1
mdbx-test: handle MDBX_RESULT_TRUE
from mdbx_env_set_geometry()
under Windows.
2022-03-28 23:57:24 +03:00
Леонид Юрьев (Leonid Yuriev)
a6b506be45
mdbx-test: minor refine Valgrind-suppressions for gcc-isra.
2022-03-25 13:54:34 +03:00
Леонид Юрьев (Leonid Yuriev)
50d5b2345e
mdbx-test: add Valgrind-suppressions for bcmp/memcmp of page-check inside mdbx_iov_write()
.
...
Related to https://github.com/erthink/libmdbx/issues/269 .
2022-03-24 12:11:50 +03:00
Леонид Юрьев (Leonid Yuriev)
9569b864ff
mdbx-test: fix quoting for tr
args inside long_stochastic.sh
2022-03-05 15:37:32 +03:00
Леонид Юрьев (Leonid Yuriev)
ef7b4289c0
mdbx: rework unaligned access.
...
The three points:
- disentangle C11-atomic fences/barriers and pure-functions (with `__attribute__((__pure__))`) to avoid compiler misoptimization;
- fix hypotetic unaligned access to 64-bit dwords on ARM with `__ARM_FEATURE_UNALIGNED` defined;
- reasonable paranoia that makes clarity for code readers.
2022-02-09 22:56:28 +03:00
Леонид Юрьев (Leonid Yuriev)
92ab17a644
mdbx-test: resolve minor MSVC /W4
warnings.
2022-02-02 17:11:45 +03:00
Leonid Yuriev
65defdd0a8
mdbx-test: fix calculation default size_now
of DB.
2022-02-02 14:09:03 +03:00
Leonid Yuriev
bfc67a6f75
mdbx-test: ability to specify single test cases to run from a stochastic test script.
2022-01-26 12:10:29 +03:00
Leonid Yuriev
cd2c5f594c
mdbx: rework checking MAX_PAGENO
and DB upper-size limit.
...
Related to https://github.com/erthink/libmdbx/issues/260 .
2022-01-21 02:25:27 +03:00
Leonid Yuriev
50b843ecb7
mdbx-test: more for --ignore-dbfull
.
2022-01-21 02:13:48 +03:00
Leonid Yuriev
981b10d10a
mdbx-test: add --geometry-jitter=YES|no
option.
2022-01-21 02:13:48 +03:00
Leonid Yuriev
c588af6aca
mdbx: update Copyright year.
...
Change-Id: Ib3e4c0ac94882c4b2a1e167dd98e6e26dbdf48a4
2022-01-17 11:06:14 +03:00
Leonid Yuriev
9cf18176f0
mdbx-test: fix build for __ANDROID_API__ < 24
(using pthread_barrier_t
stub).
2022-01-05 17:47:45 +03:00
Leonid Yuriev
6866fa3eaa
mdbx: revert returning MDBX_ENODATA
from cursor-next.
2021-12-30 22:12:04 +03:00
Leonid Yuriev
2f5606702e
mdbx-tests: explicit enable coredumps on Linux.
2021-12-13 04:12:43 +03:00
Leonid Yuriev
6f2c1e52ad
mdbx: add mdbx_cursor_get_batch()
.
...
Resolve https://github.com/erthink/libmdbx/issues/236
2021-12-11 05:58:39 +03:00
Leonid Yuriev
3fdd810653
mdbx-test: engage mdbx_env_set_syncperiod()
& mdbx_env_set_syncbytes()
.
...
Related to https://github.com/erthink/libmdbx/issues/248 .
2021-12-03 21:55:40 +03:00
Леонид Юрьев (Leonid Yuriev)
d96bc98244
mdbx: minor refine/fix MDBX_ENODATA
for compatibility.
...
Related to https://github.com/erthink/libmdbx/issues/243
2021-12-02 20:22:37 +03:00
Leonid Yuriev
66c354baff
mdbx-test: add seek-test for MDBX_GET_BOTH
.
...
Related to https://github.com/erthink/libmdbx/issues/243
2021-11-25 19:19:15 +03:00
Leonid Yuriev
9d55d06a20
mdbx-test: add check for MDBX_ENODATA
condition.
2021-11-22 13:43:51 +03:00
Leonid Yuriev
5babf0872e
mdbx++: add ifndef-guard for _CRT_SECURE_NO_WARNINGS
.
2021-10-22 20:14:12 +03:00
Leonid Yuriev
64e6fa93fd
mdbx: fix #pragma pack
to avoid misalignment for some compilers.
...
Fixes https://github.com/erthink/libmdbx/issues/235 .
2021-10-09 12:36:40 +03:00
Leonid Yuriev
ee917209fe
mdbx-test: add stochastic-small script.
2021-10-09 12:30:39 +03:00
Leonid Yuriev
f936217309
mdbx-test: avoid extra transaction restart.
2021-10-09 12:30:35 +03:00
Leonid Yuriev
cd73caac1c
mdbx-test: remove entropy source and use fully determined PRNG.
2021-08-27 15:03:59 +03:00
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