Commit Graph

310 Commits

Author SHA1 Message Date
Leo Yuriev
0167694457 mdbx: building mdbx-tools for Windows.
Change-Id: I9019c4382b7108ec7c442d2b0d4be044a3cb136a
2017-07-12 02:20:47 +03:00
Leo Yuriev
0047ce4bd6 mdbx: add default AddressSanitizer options.
Change-Id: I99b7aee5010f1d43008b2a61efe3fb9bb023ab31
2017-07-07 00:02:56 +03:00
Leonid Yuriev
e3fcc4754e mdbx-test: fix warnings from MSVC 2013. 2017-07-05 23:08:45 +03:00
Leo Yuriev
e4a8a144b6 test: fix minor defects (coverity).
Change-Id: I87165ca771a717815a2c81c36fcf1e9add2536bb
2017-07-04 13:21:16 +03:00
Leo Yuriev
66f8327642 test: allow null as 'function name' for logging (coverity).
Change-Id: I047a4c372514e85d19dd3d3719f8ad3be046171e
2017-07-04 13:21:16 +03:00
Leo Yuriev
136e98fb93 test: fix initialization 'signalled' field (coverity).
Change-Id: Ie6dae6c419bd81f203968bf07f2cf472ea7344a5
2017-07-04 13:21:16 +03:00
Leo Yuriev
283eb0aff0 test: add 'volatile' to rdtsc() and friends (fix for modern clang).
Change-Id: I82d531f66b1aa44c173485d1955611ed46767998
2017-07-03 05:11:52 +03:00
Leonid Yuriev
5dd68f70fa mdbx: use /W4 (level4 for warnings) and /WX (treat warnings as errors).
Change-Id: I04872c15c295c67eccb0d6379447aab7ac7ca163
2017-07-03 04:43:00 +03:00
Leonid Yuriev
3e6a672286 mdbx: fix MSVC warnings, add uint16-range-asserts.
Change-Id: Ie67a728035eeae250efbf962270b5c17c974db23
2017-07-03 04:41:00 +03:00
Leonid Yuriev
28ba127db2 test: typo fix. 2017-06-21 01:42:41 +03:00
Leo Yuriev
71e2fe3df0 mdbx: add MDBX_DBG_DUMP for mdbx_setup_debug().
So, meta-pages and lck-section now will be included into a coredump.
2017-06-15 13:45:16 +03:00
Leonid Yuriev
318646794e mdbx: partial fix MSVC level-4 warnings. 2017-06-06 04:15:08 +03:00
Leonid Yuriev
90b30e7584 mdbx: level-4 warnings for debug-build. 2017-06-06 04:15:08 +03:00
Leonid Yuriev
bfa6dea784 mdbx: fix size_t/unsigned/int warnings.
Change-Id: Ic5a8684aed232b8b732d6e7a87a6757f3f7afcec
2017-06-06 04:15:08 +03:00
Leonid Yuriev
e7ee0bc762 mdbx: refine testing-jitter, add MDBX_DBG_JITTER.
Change-Id: Ibc3bd8a16626e97aabc2cc544a3803f2e2bc3a10
2017-06-06 04:15:08 +03:00
Leo Yuriev
9318e4cabb test: fix oom_callback() nasty bug. 2017-05-28 17:06:04 +03:00
Leo Yuriev
77f0e5e38e mdbx: drop unused debug features. 2017-05-28 17:06:04 +03:00
Leo Yuriev
89b5b53193 test: refine oom-callback. 2017-05-25 12:12:27 +03:00
Leo Yuriev
aa9aa79e11 test: fix oom_callback(). 2017-05-24 19:23:10 +03:00
Leo Yuriev
af7b468e63 mdbx: use uint64_t or size_t insted of off_t (buggy on Windows). 2017-05-24 18:50:24 +03:00
Leo Yuriev
924e81ed92 mdbx: refine includes, drop midl.h and mdbx_osal.h 2017-05-24 17:05:59 +03:00
Leo Yuriev
8af6291d50 test: set default db-size to 4M. 2017-05-24 02:46:51 +03:00
Leo Yuriev
38deb14ee4 test: fix STDERR_FILENO for MSVC. 2017-05-24 02:43:43 +03:00
Leo Yuriev
a6c8c1ad08 test: add simple progress indicator. 2017-05-24 02:31:11 +03:00
Leo Yuriev
06de7a5155 mdbx: rename the rest MDBX_xyz. 2017-05-24 02:24:38 +03:00
Leo Yuriev
3fa09a9937 test: setup oom-callback for retry. 2017-05-23 22:22:48 +03:00
Leo Yuriev
8c18622592 mdbx: rework MDBX_val. 2017-05-23 22:18:21 +03:00
Leo Yuriev
ac8e987346 mdbx: rework MDBX_txn. 2017-05-23 22:18:21 +03:00
Leo Yuriev
aa80ef7e71 test: add hill testcase. 2017-05-23 22:18:20 +03:00
Leo Yuriev
1431e3e5bf test: fix logging for stupid MSVC. 2017-05-18 16:02:29 +03:00
Leo Yuriev
ec114d06b7 test: add log_extra(). 2017-05-18 15:57:06 +03:00
Leo Yuriev
bfa3e864b6 test: fix logging va_copy() bug. 2017-05-18 04:30:10 +03:00
Leo Yuriev
29f01cf3f4 mdbx: use PRIuPTR/PRIiPTR/PRIxPTR instead of %z. 2017-05-10 19:16:23 +03:00
Leo Yuriev
150f2c0afc test: log error into stdout too. 2017-04-27 17:51:11 +03:00
Leonid Yuriev
d5b5434fa6 test: reduce short jitter-delay to 1ms.
Change-Id: I0fac7518dd23d7345c3344e5d5883661a7cbce19
2017-04-27 01:37:42 +03:00
Leo Yuriev
953c6962ea test: minor typo fix. 2017-04-26 19:11:34 +03:00
Leo Yuriev
9a2806c6a8 test: add failfast option. 2017-04-25 20:02:28 +03:00
Leo Yuriev
99abf56c6c test: fix now_realtime() for Windows. 2017-04-25 16:09:02 +03:00
Leo Yuriev
925064aa11 test: add us-timestamp to logs. 2017-04-25 16:08:33 +03:00
Leonid Yuriev
e7e8e1c59a test: refine reciprocal division (chrono). 2017-04-25 13:48:08 +03:00
Leo Yuriev
993730d2f1 mdbx: more cleanup for Windows. 2017-04-24 21:14:36 +03:00
Leo Yuriev
32937ac63b test: canary fetch/update for jitter testcase.
Change-Id: I8402328f880addb1170e8e778b64aa4f12d18718
2017-04-23 19:16:22 +03:00
Leo Yuriev
11ac6a02ff mdbx: rework posix-lck.
Change-Id: Icdd61731424b0d591fd28da0468b9623d079c94a
2017-04-23 19:16:22 +03:00
Leo Yuriev
a0f1d61a4a test: fixup for Windows.
Change-Id: I13468caf53988d9599235d1423603146abf9eb46
2017-04-23 19:16:22 +03:00
Leo Yuriev
c4846c8141 test: failfast option.
Change-Id: I42d1bdb9c20c9b96cfa41304bd025b09fab20518
2017-04-23 19:16:22 +03:00
Leo Yuriev
f3e31a74ee test: jitter testcase (squashed major refine). 2017-04-23 19:16:21 +03:00
Leo Yuriev
101e015d2c test: more for logging. 2017-04-23 19:16:21 +03:00
Leo Yuriev
2523170806 test: add rnd and delay tools. 2017-04-23 19:16:21 +03:00
Leo Yuriev
8b42b8bfd4 test: add chrono. 2017-04-11 19:09:08 +03:00
Leo Yuriev
2a80ad67fb test: refine logging. 2017-04-11 19:09:02 +03:00
Leo Yuriev
38a6781321 test: setup debug-loger for libmdbx.
Change-Id: I7235bd9457773cce2d20a371dcca47a5a4a61838
2017-04-11 02:25:03 +03:00
Leo Yuriev
8167a08431 test: use stderr for error only. 2017-04-11 00:26:24 +03:00
Leo Yuriev
4c97997602 test: fix typo in test's skeleton. 2017-04-11 00:26:20 +03:00
Leo Yuriev
2f058bf82b mdbx: fix MSVC dirs (minor). 2017-04-11 00:13:41 +03:00
Leo Yuriev
a3644aa6d0 mdbx: new testset (initial, stub).
Initial stub for https://github.com/ReOpen/libmdbx/issues/8
2017-04-10 23:20:22 +03:00
Leo Yuriev
5c5ef256b3 mdbx: change mdbx_dkey(). 2017-03-31 17:04:45 +03:00
Leo Yuriev
7d351f74c4 mdbx: rename mdbx_stat() to mdbx_dbi_stat(). 2017-03-29 18:52:55 +03:00
Leo Yuriev
e9ea16a54e mdbx: adds test7 by Klaus Malorny <klaus.malorny@knipp.de> 2017-03-29 00:53:39 +03:00
Leo Yuriev
0f49ed6e53 mdbx: big-bang (initial).
- OS Abstraction Layer;
 - Windows Support.
 - preparation for more changes.

Change-Id: I53772eda9091ba361cbc9a28656190ea0d4c5cee
2017-03-29 00:53:39 +03:00
Leo Yuriev
95e606606a mdbx: subdirs.
Change-Id: Iea70b29ed39f55ee363729300f6ce54127b4e880
2017-03-16 18:04:56 +03:00