Leonid Yuriev
|
362df3a031
|
mdbx: workaround for MSVC 19.27 static_assert() bug.
Change-Id: Ia143795a57e800bc39e126cd90f34a6abde81ca3
|
2020-09-01 21:41:52 +03:00 |
|
Leonid Yuriev
|
bf31cca375
|
mdbx-chk: fix 'differentent' typo.
Change-Id: Id56171bdbfe92a589f574a4803beab4abf2d9cdb
|
2020-09-01 20:54:15 +03:00 |
|
Leonid Yuriev
|
6b1c2ff762
|
mdbx: fix mdbx_env_open() for re-opening after non-fatal errors.
Change-Id: Ibbe9a8e017837a21fe1eeebb86e1b3a7a370e77c
|
2020-09-01 20:54:15 +03:00 |
|
Leonid Yuriev
|
c53627f5ac
|
mdbx: fix null-deref during MDBX_TXN_RDONLY_PREPARE in the MDBX_EXCLUSIVE mode.
Change-Id: I20b2bd4137293261a546910c8175be531d38b2c9
|
2020-08-23 16:28:00 +03:00 |
|
Leonid Yuriev
|
0a75417d5f
|
mdbx: add pure- & const-function attributes to C API.
Change-Id: Ie4d1742f3d4717a0cd1fd5677b9b1ae641193d45
|
2020-08-23 13:29:44 +03:00 |
|
Leonid Yuriev
|
54a09967a1
|
mdbx: refine mode_t for lck-file.
Change-Id: I7674a3a1c0a5778f0f362faa1d608c25e242d92d
|
2020-08-06 01:48:56 +03:00 |
|
Leonid Yuriev
|
17380fe079
|
mdbx: minor fix for MDBX_DBG_LEGACY_MULTIOPEN.
Change-Id: I7d1c30699708c4b9e47e1b781e96c9a4b6c2b109
|
2020-08-06 01:48:56 +03:00 |
|
Leonid Yuriev
|
ffa10a25d6
|
mdbx: use enums & bool in the C API.
Change-Id: I952f578cceb7d02ade16f545d47245d4d9106441
|
2020-08-06 01:48:56 +03:00 |
|
Leonid Yuriev
|
3bcf808005
|
mdbx: separate and describe MDBX_DB_ACCEDE.
Change-Id: I1a846d196eb00138c1c5ec453537757b1df78d31
|
2020-08-06 01:48:56 +03:00 |
|
Leonid Yuriev
|
87de3fc25f
|
mdbx: add MDBX_TXN_RDONLY_PREPARE.
Change-Id: I95647d1679b69d1e97514a45f20d7373174244d5
|
2020-08-06 01:48:56 +03:00 |
|
Leonid Yuriev
|
1e7a1da14e
|
mdbx: separate transaction flags.
Change-Id: Ib9a0f6946e1ecf35059e2dccc91319ae130c9f9b
|
2020-08-06 01:48:56 +03:00 |
|
Leonid Yuriev
|
5e43ee61a2
|
mdbx: drop/deprecate MDBX_MAPASYNC.
Change-Id: I472f97f568a32325eb056c8ee4d2f2350a473bda
|
2020-08-06 01:48:56 +03:00 |
|
Leonid Yuriev
|
135bead730
|
mdbx: disable warning C4204 for MSVC.
Change-Id: Idf7246f5ee349294cea1ed15d69daa49e4dddedb
|
2020-07-31 01:33:16 +03:00 |
|
Leonid Yuriev
|
7ce33be933
|
mdbx: fix zero-length arrays for C++.
Change-Id: I24ee4b34064f1face40d63861fb2f8982b922f7d
|
2020-07-31 01:33:16 +03:00 |
|
Leonid Yuriev
|
f4021c8028
|
mdbx: refine mdbx_dump_val().
Change-Id: I72dac7c44c842d16d6b8776248ba20014d0709a9
|
2020-07-31 01:33:16 +03:00 |
|
Leonid Yuriev
|
0a01b46112
|
mdbx: add mdbx_thread_register() and mdbx_thread_unregister().
Change-Id: I605bc75a20631e781043fafcc26f5e59cb40adaa
|
2020-07-31 01:33:16 +03:00 |
|
Leonid Yuriev
|
b91918b027
|
mdbx: add mdbx_env_get_maxdbs().
Change-Id: Ie4bdd2f8a46130f277ef98861a5fca98f55bad54
|
2020-07-31 01:33:16 +03:00 |
|
Leonid Yuriev
|
9e90718bd5
|
mdbx: add check_env().
Change-Id: Iff9258d1e31349da77ef030cfe6da7bcfc5c5a19
|
2020-07-31 01:33:16 +03:00 |
|
Leonid Yuriev
|
0387d6f6d4
|
mdbx: rename MDBX_ENV_CHECKPID.
Change-Id: Id0afbea99b0747c6d7a5062c1c4a82ebc69f4f40
|
2020-07-31 01:33:16 +03:00 |
|
Leonid Yuriev
|
1e3c4dc0ef
|
mdbx: define & use bool type for C API.
Change-Id: Icb6cd635a4813bfc92d31bdc527414bdddce4a63
|
2020-07-31 01:33:16 +03:00 |
|
Leonid Yuriev
|
c778d3cfd4
|
mdbx: bump version to 0.9.x (not a release, but API changes).
Change-Id: I756f1224739df53d8503cf308c2c908f6ecd3fd1
|
2020-07-31 00:45:34 +03:00 |
|
Leonid Yuriev
|
dcd61289d8
|
mdbx-doc: more for Doxygen (refs, build options).
Change-Id: I8b15bce3d6638a24bdafa3171ae10f01311862d7
|
2020-07-29 02:18:44 +03:00 |
|
Leonid Yuriev
|
a902538e34
|
mdbx: more Doxygen tags (almost done).
Change-Id: I696e717e37a905f68af059c51f9df327c257332e
|
2020-07-24 22:49:21 +03:00 |
|
Leonid Yuriev
|
2cd7fcb16d
|
mdbx: fix minor Coverity issues.
Change-Id: I21c44de18e4e620ecec38ec837446150736faf79
|
2020-07-24 17:43:35 +03:00 |
|
Leonid Yuriev
|
5f4f828bae
|
mdbx-doc: provide non-API docs via doxygen (squashed).
Change-Id: Ie33858517f964f794ec182a1e8bb630730a0f172
|
2020-07-23 18:44:32 +03:00 |
|
Leonid Yuriev
|
3d31884c3b
|
mdbx-chk: always skip key ordering checking to avoid MDBX_CORRUPTED when using custom comparators.
Change-Id: Ieb6ea4a1c36b0e661afc13da365505ffbb5d0b5e
|
2020-07-23 11:47:05 +03:00 |
|
Leonid Yuriev
|
9720ed39f5
|
mdbx: using enum instead of #define for flags/modes.
Resolve https://github.com/erthink/libmdbx/issues/108
Change-Id: I45897300375d2b5b9361aaba81dadcf9801fe3cf
|
2020-07-08 02:26:46 +03:00 |
|
Leonid Yuriev
|
2e0d2e65af
|
mdbx: fix minor typos.
|
2020-07-07 23:16:43 +03:00 |
|
Leonid Yuriev
|
e989cb05ed
|
mdbx: deprecate mdbx_dbi_open_ex() and custom comparators.
Change-Id: I1d20f77b9ba5d8d5ec891df17019377afb466b06
|
2020-07-07 19:33:59 +03:00 |
|
Leonid Yuriev
|
fab6ddee14
|
mdbx: add MDBX_DEPRECATED macro.
Change-Id: I87e14b37a6d152fa1f69f4a74e16244870dedb0f
|
2020-07-07 19:33:17 +03:00 |
|
Leonid Yuriev
|
3351c1f869
|
mdbx: implements remapping of the database file when it it possible.
Change-Id: Ida15ba1f396a33b2c6063e680dff612f39a9608f
|
2020-07-06 16:23:52 +03:00 |
|
Leonid Yuriev
|
2d0a5c42a9
|
mdbx: avoids unnecessary remap in case geometry changed concurrently by another process(es).
Change-Id: Ibf3a90bc79b1e8e0fa752dabc21b129a697c08d4
|
2020-07-06 14:35:41 +03:00 |
|
Leonid Yuriev
|
5dbb0b4cfe
|
mdbx: rename internal flags & fields for clarity.
Change-Id: I79d6d8e88b0b4c30cbb8a464ca17f07dc2ab44c6
|
2020-07-06 14:35:41 +03:00 |
|
Leonid Yuriev
|
c22749a630
|
mdbx: add TODO for auto-recovery.
Change-Id: I7d5fd83a2fdeaec0501ba0339bbe865d06356bad
|
2020-07-05 00:34:32 +03:00 |
|
Leonid Yuriev
|
e6f5998b76
|
mdbx: refine mode bits while auto-creating LCK-file.
Change-Id: Ideb603cf6a1709188b3c121a9d6bf2097b9c244d
|
2020-07-05 00:34:32 +03:00 |
|
Leonid Yuriev
|
e6eeed6cf2
|
mdbx: return MDBX_CORRUPTED in case all meta-pages are weak and no other error.
Change-Id: I38c85738d8ccdb87856fa1a6e989ddaf75109722
|
2020-07-05 00:34:32 +03:00 |
|
Leonid Yuriev
|
5a25c7c5fb
|
mdbx: fix __pure_function & __const_function for CLANG & C++ exceptions.
This is crutch for https://bugs.llvm.org/show_bug.cgi?id=43275
Change-Id: I6d29456cd83f8e713a5b1f6b50ac721bf985148f
|
2020-07-05 00:34:23 +03:00 |
|
Leonid Yuriev
|
505ee31635
|
mdbx: add __fallthrough workaround for LCC.
Related to https://bugs.mcst.ru/bugzilla/show_bug.cgi?id=5093
|
2020-06-26 03:28:15 +03:00 |
|
Leonid Yuriev
|
0afc21eed9
|
mdbx: add mdbx_get_keycmp() & mdbx_get_datacmp().
Change-Id: I11f8a54f7eb21b0bab575c8f6b89081b7eaf1bb8
|
2020-06-24 17:15:56 +03:00 |
|
Leonid Yuriev
|
428f753c03
|
mdbx: add key-to-value functions.
Change-Id: Ie0acd8c58833047931444fd9d94d5b82e6d541bb
|
2020-06-24 17:15:56 +03:00 |
|
Leonid Yuriev
|
0fc2d39cce
|
mdbx: allow mixind with/without MDBX_WRITEMAP for the same database.
Change-Id: I916bb9e9b44a58cf78786e76a8c42d62e0bfc579
|
2020-06-20 23:55:15 +03:00 |
|
Leonid Yuriev
|
35313d18bc
|
mdbx-posix: refine mdbx_lck_init(), allow multi-opending with MDBX_LOCKING_SYSV.
|
2020-06-15 12:51:35 +03:00 |
|
Leonid Yuriev
|
e008f3132d
|
mdbx: support for huge transactions (MDBX_HUGE_TRANSACTIONS option).
Change-Id: I5d6cce6a7fb816add8cb4c066cc50f31cdebf9d5
|
2020-06-13 03:06:20 +03:00 |
|
Leonid Yuriev
|
7ab9d24d3b
|
mdbx: fix env_set_geometry() for opened-env + outside-txn case.
Change-Id: I4526aa8011895ef7b5529995503966117c37e107
|
2020-06-08 19:12:12 +03:00 |
|
Leonid Yuriev
|
03cc19babb
|
mdbx: preserve error from env_set_geometry() inside setup_dxb().
Change-Id: I8dae0b38eb09cfaa07cdd80cb37dc414e2f99d7a
|
2020-06-08 19:12:12 +03:00 |
|
Leonid Yuriev
|
0117473cbc
|
mdbx: bump version to 0.8.x
Change-Id: I6d2a1a3b04341461288e18c66d11e79d343750b0
|
2020-06-05 03:00:43 +03:00 |
|
Leonid Yuriev
|
36dc9e26b6
|
mdbx: avoid forward-invalidation of DBI-handle when it just closing.
Change-Id: I379f07c2eae9ea68ddf554d10d7d1deed1a00d2b
|
2020-06-04 12:24:11 +03:00 |
|
Leonid Yuriev
|
0146b3e2c0
|
mdbx: avoids using pwritev() for single-writes (up to 10% speedup for some kernels & scenarios).
Change-Id: I71fbf0e113b1de4d05b2a43e8532a977c42b8f91
|
2020-05-29 18:39:43 +03:00 |
|
Leonid Yuriev
|
a159ae4b06
|
mdbx-tools: fix using ENODATA for FreeBSD.
Change-Id: I3092e79116de96aa5e12e61e0963dc7545a1cf1b
|
2020-05-27 23:16:12 +03:00 |
|
Leonid Yuriev
|
ea353471d5
|
mdbx: fix minor typo.
Change-Id: I02ab17d1867e8b1a0b9ef971c9922688eca9dc7c
|
2020-05-27 21:48:14 +03:00 |
|