Leo Yuriev
|
1c170cb866
|
mdbx: add MAX_PAGENO, MIN_PAGENO, MAX_MAPSIZE, MIN_MAPSIZE.
|
2017-05-28 17:02:19 +03:00 |
|
Leo Yuriev
|
18cf804d0b
|
mdbx: add STATIC_ASSERT_MSG, refine STATIC_ASSERT.
|
2017-05-28 17:02:19 +03:00 |
|
Leo Yuriev
|
b038767a18
|
mdbx: add 'mdbx_chk' to Makefile's 'check' target.
|
2017-05-28 17:02:19 +03:00 |
|
Leo Yuriev
|
4293840055
|
mdbx: fix meta-invalidate race in MDBX_WRITEMAP mode (when target == head).
|
2017-05-28 17:02:19 +03:00 |
|
Leo Yuriev
|
f4d3b76f81
|
mdbx: minor refine and rename mdbx_sync_locked().
Change-Id: Iab650b091006e5646d9d22316d19aa58a517684b
|
2017-05-28 17:02:19 +03:00 |
|
Leo Yuriev
|
9959fe8711
|
mdbx: reorder fields in metapages.
|
2017-05-28 17:02:19 +03:00 |
|
Leo Yuriev
|
c02a3ac687
|
mdbx: ignore meta-pages with wrong pagesize.
|
2017-05-28 17:02:19 +03:00 |
|
Leo Yuriev
|
0e49b1b2b4
|
mdbx: update 'mapsize' while opening with txn-increment.
|
2017-05-28 17:02:19 +03:00 |
|
Leo Yuriev
|
d642127d10
|
tools: fix 'tail' show in mdbx_chk.
|
2017-05-28 17:02:19 +03:00 |
|
Leo Yuriev
|
5d836d2b03
|
mdbx: clarify steady/fluid/weak names of a head.
|
2017-05-28 17:02:19 +03:00 |
|
Leo Yuriev
|
1e0654a4a8
|
tool: show operational txnid in mdbx_chk.
|
2017-05-28 17:02:19 +03:00 |
|
Leo Yuriev
|
47cc45dec4
|
mdbx: don't check present durability mode for MDBX_RDONLY.
|
2017-05-28 17:02:19 +03:00 |
|
Leo Yuriev
|
700f3e9c2a
|
mdbx: more checks for meta-params.
|
2017-05-28 17:02:19 +03:00 |
|
Leo Yuriev
|
9eeb00f448
|
mdbx: trinity of meta-pages.
|
2017-05-28 17:02:19 +03:00 |
|
Leo Yuriev
|
141306644d
|
mdbx: fix mdbx_env_copy_asis().
|
2017-05-26 03:10:31 +03:00 |
|
Leo Yuriev
|
ef941b2587
|
mdbx: fix crash on twice txn-end (backport from devel).
|
2017-05-25 20:42:18 +03:00 |
|
Leo Yuriev
|
7315b99b9d
|
mdbx: fix MSVC/Windows warnings.
|
2017-05-25 19:12:51 +03:00 |
|
Leo Yuriev
|
b9dbe7c577
|
mdbx: fix segfault and double-free (in case twice abortion of the same write-txn).
|
2017-05-25 18:39:45 +03:00 |
|
Leo Yuriev
|
96de36baef
|
mdbx: refine mdbx_cursor_count() API.
|
2017-05-25 16:21:29 +03:00 |
|
Leo Yuriev
|
3a166e1970
|
test: temporary crutch.
|
2017-05-25 15:30:35 +03:00 |
|
Leo Yuriev
|
b94e761d73
|
mdbx: fix 'magic' bug.
|
2017-05-25 15:08:45 +03:00 |
|
Leo Yuriev
|
89b5b53193
|
test: refine oom-callback.
|
2017-05-25 12:12:27 +03:00 |
|
Leo Yuriev
|
5519d568f0
|
mdbx: fix mdbx_filesize() for Windows.
|
2017-05-25 09:40:29 +03:00 |
|
Leo Yuriev
|
15e2a45425
|
mdbx: check size of lck-file.
|
2017-05-25 09:40:29 +03:00 |
|
Leo Yuriev
|
c335b16c81
|
mdbx: rework mapsize's stuff inside mdbx_setup_dxb().
|
2017-05-25 09:40:29 +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
|
7ef7e70012
|
mdbx: add STATIC_ASSERT.
|
2017-05-24 18:45:08 +03:00 |
|
Leo Yuriev
|
96b9af0b4d
|
mdbx: minor refine idl functions.
|
2017-05-24 17:06:18 +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
|
dd7855c30d
|
mdbx: cleanup tabs (minor).
|
2017-05-24 13:37:06 +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
|
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 |
|