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
|
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
|
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
|
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
|
2c43997026
|
mdbx: change mdbx_env_set_oomfunc() API.
|
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
|
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
|
0cd30792bb
|
mdbx: split MDB_ID into pgno_t and txnid_t.
|
2017-05-23 19:57:26 +03:00 |
|
Leo Yuriev
|
8b9e391dd0
|
mdbx: cleanup internals (mostly formatting, but not only).
|
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
|
994481e4f4
|
mdbx: replace size_t with uint64_t/uint32_t in API.
|
2017-05-23 17:45:58 +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
|
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
|
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
|
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
|
ed46246931
|
mdbx: rework mdbx_dbi_open().
|
2017-05-16 00:50:12 +03:00 |
|
Leo Yuriev
|
533e01cc93
|
mdbx: change mdbx_dbi_close() API.
|
2017-05-11 10:08:22 +03:00 |
|
Leo Yuriev
|
29f01cf3f4
|
mdbx: use PRIuPTR/PRIiPTR/PRIxPTR instead of %z.
|
2017-05-10 19:16:23 +03:00 |
|
Leo Yuriev
|
4e9b734b52
|
mdbx: fix mdbx_read_header().
|
2017-04-27 18:15:12 +03:00 |
|
Leo Yuriev
|
82f053a685
|
mdbx: more debug for lck-seize.
|
2017-04-27 18:15:12 +03:00 |
|
Leo Yuriev
|
678e4f5738
|
mdbx: more check/debug around mdbx_pread() and mdbx_read_header().
|
2017-04-27 18:15:12 +03:00 |
|
Leo Yuriev
|
f8903ca7c7
|
mdbx: minor refine/speedup mdbx_cursor_put().
|
2017-04-27 18:07:58 +03:00 |
|
Leo Yuriev
|
4b2cb66453
|
mdbx: use mdbx_jitter4testing() for race detection.
|
2017-04-27 15:52:52 +03:00 |
|
Leo Yuriev
|
40dee6f05f
|
mdbx: rework mdbx_read_header().
|
2017-04-27 15:52:52 +03:00 |
|
Leo Yuriev
|
fd078ee163
|
mdbx: check for txnid overflow (paranoia).
Change-Id: Id7cd62abf8605150ff5491fb1129383e3e748603
|
2017-04-27 01:37:42 +03:00 |
|
Leo Yuriev
|
9e07b71c27
|
mdbx: fix snap-state bug.
Change-Id: I8700209ab012bfef21c88fe06c39b80a640291c6
|
2017-04-27 01:37:42 +03:00 |
|
Leo Yuriev
|
333e5fada3
|
mdbx: internal cleanup (rename, etc).
|
2017-04-26 19:11:34 +03:00 |
|
Leo Yuriev
|
5ed0ccfcbb
|
mdbx: rework mdbx_pread().
|
2017-04-25 19:59:00 +03:00 |
|
Leo Yuriev
|
aa59522dbe
|
mdbx: minor refine open-path.
|
2017-04-25 19:51:23 +03:00 |
|
Leo Yuriev
|
326dea8bc1
|
mdbx: use FormatMessage() for Windows.
|
2017-04-25 19:17:57 +03:00 |
|
Leo Yuriev
|
993730d2f1
|
mdbx: more cleanup for Windows.
|
2017-04-24 21:14:36 +03:00 |
|
Leo Yuriev
|
e98a1e5319
|
mdbx: move MDBX_LOCK_SUFFIX to API defs.
|
2017-04-24 17:52:56 +03:00 |
|