Commit Graph

1391 Commits

Author SHA1 Message Date
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
62ebc59330 mdbx: rework version info (stub for now). 2017-05-24 02:17:10 +03:00
Leo Yuriev
88ea2768f5 mdbx: fix gcc 'comparison is always true' warning. 2017-05-23 22:35:59 +03:00
Leo Yuriev
3fa09a9937 test: setup oom-callback for retry. 2017-05-23 22:22:48 +03:00
Leo Yuriev
2c43997026 mdbx: change mdbx_env_set_oomfunc() API. 2017-05-23 22:18:21 +03:00
Leo Yuriev
132c9c994e mdbx: add mdbx_fastmutex_t. 2017-05-23 22:18:21 +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
34213c554a mdbx: rework MDBX_reader. 2017-05-23 22:18:21 +03:00
Leo Yuriev
a3ed42b999 mdbx: rework MDBX_page, drop COPY_PGNO. 2017-05-23 22:18:20 +03:00
Leo Yuriev
8f2c21e2ba mdbx: rework MDBX_node. 2017-05-23 22:18:20 +03:00
Leo Yuriev
aa80ef7e71 test: add hill testcase. 2017-05-23 22:18:20 +03:00
Leo Yuriev
8828e90ff9 mdbx: mdbx_condmutex_t instead of mutex/condvar pair. 2017-05-23 19:57:26 +03:00
Leo Yuriev
2f97939efd mdbx: more cleanup mdbx_midl_sort(). 2017-05-23 19:57:26 +03:00
Leo Yuriev
eff0f92fa7 mdbx-tools: replace size_t/PRIuPTR with uint64_t/PRIu64. 2017-05-23 19:57:26 +03:00
Leo Yuriev
0cd30792bb mdbx: split MDB_ID into pgno_t and txnid_t. 2017-05-23 19:57:26 +03:00
Leo Yuriev
5c2042c466 tools: internal minor renames (preparation for changes). 2017-05-23 17:45:58 +03:00
Leo Yuriev
8b9e391dd0 mdbx: cleanup internals (mostly formatting, but not only). 2017-05-23 17:45:58 +03:00
Leo Yuriev
277bdfb4c4 mdbx: cleanup formatting for mdbx.h 2017-05-23 17:45:58 +03:00
Leo Yuriev
398b839b98 mdbx: drops old/obsolete API (mdbx_env_copy and mdbx_env_copydf). 2017-05-23 17:45:58 +03:00
Leo Yuriev
0eee938c5f mdbx: add MDBX_EIO. 2017-05-23 17:45:58 +03:00
Leo Yuriev
994481e4f4 mdbx: replace size_t with uint64_t/uint32_t in API. 2017-05-23 17:45:58 +03:00
Leo Yuriev
0c9832fc28 ci: add TESTDB into Makefile. 2017-05-23 16:00:49 +03:00
Leo Yuriev
d0793a1daf mdbx: fix MDB_DUPSORT with MDB_CURRENT update bug. 2017-05-22 15:35:33 +03:00
Leo Yuriev
82d3595b76 mdbx: add MDBX_EKEYMISMATCH. 2017-05-22 15:35:33 +03:00
Leo Yuriev
d9eeac45b2 mdbx: fix extra-logging without NDEBUG, but with MDBX_DEBUG=0. 2017-05-19 07:39:50 +03:00
Leo Yuriev
0810f4e105 mdbx: fix MDBX_CORRUPED error (nasty copy&paste bug). 2017-05-18 22:31:19 +03:00
Leo Yuriev
b4fd0500d1 mdbx: more lck-debug. 2017-05-18 16:17:24 +03:00
Leo Yuriev
d2af39fd73 mdbx: more for without-lck mode (not completed). 2017-05-18 16:17:24 +03:00
Leo Yuriev
fd8be99282 mdbx: cleanup mdbx_env_init_metas(). 2017-05-18 16:17:24 +03:00
Leo Yuriev
818e742c58 mdbx: cleanup mdbx_env_create(). 2017-05-18 16:17:24 +03:00
Leo Yuriev
6ee3aebc32 mdbx: use flock() for share/exclusive lck. 2017-05-18 16:17:24 +03:00
Leo Yuriev
1431e3e5bf test: fix logging for stupid MSVC. 2017-05-18 16:02:29 +03:00
Leo Yuriev
4481555c90 mdbx: refine mdbx_dkey() API. 2017-05-18 16:02:29 +03:00
Leo Yuriev
c479c5ff15 mdbx: rework mdbx_env_sync().
Change-Id: I6192e8a333b607d1e46eadddb73863943635f1ec
2017-05-18 16:02:29 +03:00
Leo Yuriev
7a4541f598 mdbx: minor cleanup. 2017-05-18 15:57:06 +03:00
Leo Yuriev
00be62e235 mdbx: cleanup formating. 2017-05-18 15:57:06 +03:00
Leo Yuriev
ec114d06b7 test: add log_extra(). 2017-05-18 15:57:06 +03:00
Leo Yuriev
677625ead1 mdbx: add MDBX_WANNA_RECOVERY. 2017-05-18 04:31:54 +03:00
Leo Yuriev
015a242c89 mdbx: rollback weak checkpoint or MDB_CORRUPTED. 2017-05-18 04:30:10 +03:00
Leo Yuriev
bfa3e864b6 test: fix logging va_copy() bug. 2017-05-18 04:30:10 +03:00
Leo Yuriev
6d7bfeb87a mdbx: add 'pipefail' to makefile's check target. 2017-05-17 20:32:22 +03:00
Leo Yuriev
ed46246931 mdbx: rework mdbx_dbi_open(). 2017-05-16 00:50:12 +03:00
Leo Yuriev
5fdad46cb9 mdbx: add translation by Yandex. 2017-05-15 13:03:09 +03:00
Leo Yuriev
00081298d6 mdbx: add mdbx_get_errno_checked(). 2017-05-15 12:08:04 +03:00
Leo Yuriev
533e01cc93 mdbx: change mdbx_dbi_close() API. 2017-05-11 10:08:22 +03:00
Leo Yuriev
e8a430999c mdbx: hush MSVC warnings for atomic stubs. 2017-05-11 10:08:22 +03:00