Commit Graph

  • a6aad9c918 mdbx: use malloc_usable_size() and analogues. Leonid Yuriev 2019-10-10 14:36:57 +03:00
  • e519b8f315 mdbx: fix memleak after write-txn state rework. Leonid Yuriev 2019-10-10 14:41:59 +03:00
  • 0616fa72d4 mdbx-test: minor fix nested case. Leonid Yuriev 2019-10-10 08:59:19 +03:00
  • e5bd1a6d6f mdbx-test: fix MSVC warnings (minor). Leonid Yuriev 2019-10-10 00:57:22 +03:00
  • 95bb371b0d mdbx-test: fix build by non-c++17 compilers. Leonid Yuriev 2019-10-10 00:25:24 +03:00
  • e5caec031f mdbx: fix warnings from old/obsolete clang (minor). Leonid Yuriev 2019-10-10 00:24:38 +03:00
  • 0f8b2ff399 mdbx-test: add nested testcase. Leonid Yuriev 2019-10-09 23:38:44 +03:00
  • 66430fd10d mdbx-test: add verifying by speculum option. Leonid Yuriev 2019-10-09 17:56:59 +03:00
  • 1573d110f6 mdbx: minor refine mdbx.h Leonid Yuriev 2019-10-09 14:36:04 +03:00
  • 26641d839b mdbx-build: use optimization for size (i.e. -Os) by default. Leonid Yuriev 2019-10-09 14:10:56 +03:00
  • 273af26244 mdbx: rework nested transactions and write-transaction state. Leonid Yuriev 2019-10-08 19:57:17 +03:00
  • 1c9c637701 mdbx: refine internal audit for intermediate state checking. Leonid Yuriev 2019-10-07 19:40:25 +03:00
  • cee1aeaf26 mdbx: fix comment typo. Leonid Yuriev 2019-10-07 18:03:08 +03:00
  • 64016c86f6 mdbx: add minor assertions info mdbx_env_walk(). Leonid Yuriev 2019-10-07 15:51:17 +03:00
  • 6efe0686c9 mdbx: fix Coverity warnings. Leonid Yuriev 2019-10-06 19:05:08 +03:00
  • 0a5dcdb120 mdbx-dist: fix typo. Leonid Yuriev 2019-10-06 18:23:23 +03:00
  • ffa8fb1390 mdbx-ci: enable MDBX_DEBUG for Coverity-builds. Leonid Yuriev 2019-10-06 15:00:43 +03:00
  • 7d621f6f0a mdbx: auto-define _GNU_SOURCE under control of MDBX_DISABLE_GNU_SOURCE. Leonid Yuriev 2019-10-06 14:59:53 +03:00
  • 3c82ed0323 mdbx-ci: extend travis-ci.org build matrix. Leonid Yuriev 2019-10-06 13:05:26 +03:00
  • 85cd04b712 mdbx-test: using c++17 (for std::string_view). Leonid Yuriev 2019-10-06 12:27:38 +03:00
  • f629914217 mdbx-test: add dataset verification to hill testcase. Leonid Yuriev 2019-10-06 12:07:14 +03:00
  • 440bfec193 mdbx: allow 256-byte pages. Leonid Yuriev 2019-10-05 22:46:12 +03:00
  • 8291de71cb mdbx: support keys and dupsort values upto maxnode (half of a page) size. Leonid Yuriev 2019-10-05 22:07:41 +03:00
  • d9e1d7f23a mdbx: fix assertions inside pnl_search(). Leonid Yuriev 2019-10-04 15:52:15 +03:00
  • aa92d6b7e7 mdbx: add paranoid assertions to qsort and bsearch macros. Leonid Yuriev 2019-10-04 15:06:59 +03:00
  • e3b5381f30 mdbx-test: fix enabling MDBX_DBG_AUDIT. Leonid Yuriev 2019-10-04 11:19:45 +03:00
  • 529d484884 mdbx: fix audit for retired-pages tracking (minor, i.e. false-negative). Leonid Yuriev 2019-10-04 12:28:53 +03:00
  • 39d43a5b57 mdbx: alter mdbx_cursor_put() paths. Leonid Yuriev 2019-10-04 10:53:29 +03:00
  • 9e92ea2372 mdbx: add mdbx_page_check(). Leonid Yuriev 2019-10-04 02:29:27 +03:00
  • 8768641872 mdbx: refine/simplify MDBX_node. Leonid Yuriev 2019-10-04 01:51:19 +03:00
  • daddd53793 mdbx: refine mdbx_page_copy(). Leonid Yuriev 2019-10-03 19:40:05 +03:00
  • bf818ddf1e mdbx: fix assertion inside mdbx_txn_begin(). Leonid Yuriev 2019-10-03 14:04:37 +03:00
  • 5420a3b2fb mdbx-test: less detailed logging for Windows to avoid test-timeout. Leonid Yuriev 2019-10-02 12:07:02 +03:00
  • a644c50307 mdbx-ci: enable non-console progress indicator explicitly. Leonid Yuriev 2019-10-02 01:21:41 +03:00
  • 632e688202 mdbx-test: rework progess inticator. Leonid Yuriev 2019-10-02 01:17:09 +03:00
  • 315e58578d mdbx: don't log empty file read error upon creation it. Leonid Yuriev 2019-10-01 23:03:09 +03:00
  • 4d49112a56 mdbx-test: refix logging. Leonid Yuriev 2019-10-01 22:01:45 +03:00
  • e1e2e2e935 mdbx: provide additional info via mdbx_env_info_ex(). Leonid Yuriev 2019-10-01 17:09:57 +03:00
  • f918d89408 mdbx: English translation for osal.h crypto.sowle 2019-10-01 16:05:41 +03:00
  • f0246463c0 mdbx: rework sync_timestamp. Leonid Yuriev 2019-10-01 15:01:33 +03:00
  • 5693fad51d mdbx: add mdbx_osal_monotime_to_16dot16(). Leonid Yuriev 2019-10-01 13:53:52 +03:00
  • 22f6e53520 mdbx: update README and refine API description. Leonid Yuriev 2019-09-30 02:40:19 +03:00
  • 83da954725 mdbx: rework env_sync() for MDBX_NOMETASYNC, add mdbx_env_sync_poll(). Leonid Yuriev 2019-09-29 23:51:43 +03:00
  • 91ee841fc2 mdbx: clarify mdbx_env_set_flags(). Leonid Yuriev 2019-09-28 20:10:29 +03:00
  • 87f8c01ac4 mdbx: add space argument for oom-callback. Leonid Yuriev 2019-09-28 19:03:02 +03:00
  • 86496e4480 mdbx: refine retired-next-reader insode mdbx_txn_info(). Leonid Yuriev 2019-09-28 11:23:20 +03:00
  • dcd3c497d9 mdbx-windows: rename mdbx_dll_handler() to avoid confusion with callbacks. Leonid Yuriev 2019-09-27 11:58:48 +03:00
  • e41369fbc6 mdbx-build: minor fix build-info & options. Leonid Yuriev 2019-09-27 11:32:39 +03:00
  • 20447c877d mdbx: refine mdbx.h and API description, etc (5 of 5). Leonid Yuriev 2019-09-26 20:00:22 +03:00
  • 1ab33333bc mdbx: refine options and build-info. Leonid Yuriev 2019-09-25 19:03:04 +03:00
  • 40ee895aae mdbx: refine internal debug facilities. Leonid Yuriev 2019-09-24 02:07:00 +03:00
  • a0025d84fd mdbx: refine txnid-safety for 32-bit archs. Leonid Yuriev 2019-09-23 21:22:55 +03:00
  • b3c2118eb4 mdbx: explicity types inside LCK-file, reserve ABA-solver for 32-bit archs. Leonid Yuriev 2019-09-23 15:32:29 +03:00
  • 3549744f40 mdbx: incremental/combined linear+binary search for dirty-pages list. Leonid Yuriev 2019-09-23 04:54:56 +03:00
  • f3a51be7ff mdbx: rewrite internal bsearch for pages-lists. Leonid Yuriev 2019-09-23 00:38:31 +03:00
  • aceab9be44 mdbx: replace internal qsort implementation (up to 25% faster). Leonid Yuriev 2019-09-22 04:02:02 +03:00
  • 5a94d734cc mdbx: auto-sorting for dirty-pages list. Leonid Yuriev 2019-09-21 19:57:05 +03:00
  • f5bd9b863c mdbx-ci: update travis-ci config. Leonid Yuriev 2019-09-21 13:47:15 +03:00
  • 83fbcb660f mdbx: add mdbx_txn_info(). Leonid Yuriev 2019-09-21 13:08:23 +03:00
  • 0b500798df mdbx: refund loose-pages. Leonid Yuriev 2019-09-21 00:52:19 +03:00
  • 44d94a76e5 mdbx: maintaining retired pages sequence. Leo Yuriev 2019-09-20 21:26:21 +03:00
  • c80a5cabd6 mdbx: internal rename befree to retired. Leo Yuriev 2019-09-20 20:44:35 +03:00
  • 8423a0a8bd mdbx: txnid-safety for non-64-bit and/or not-atomic platforms. Leo Yuriev 2019-09-20 19:53:42 +03:00
  • da9dc75fbc mdbx-cmake: build-config MinSizeRel by default. Leo Yuriev 2019-09-19 16:43:16 +03:00
  • b20363d187 mdbx-cmake: avoid cmake warnings in amalgamated build. Leo Yuriev 2019-09-19 15:39:32 +03:00
  • 9b9baddd0b mdbx-build: fix wingetopt.c amalgamation. Leonid Yuriev 2019-09-19 13:35:21 +03:00
  • d15a6b935c mdbx: avoid "unused static function" warnings. Leonid Yuriev 2019-09-19 13:23:47 +03:00
  • 90a3ed992e mdbx-cmake: provide MDBX_BUILD_SHARED_LIBRARY option for dist-cmake. Leonid Yuriev 2019-09-19 03:31:33 +03:00
  • ab456bf376 mdbx-cmake: fix MDBX_BUILD_FLAGS list-case. Leonid Yuriev 2019-09-19 03:31:04 +03:00
  • 7c39c16829 mdbx-tools: rework mdbx_reader_list() & mdbx_stat. Leonid Yuriev 2019-09-19 00:54:03 +03:00
  • 2f2df1ee76 mdbx: implement MDBX_TXN_CHECKOWNER option. Leonid Yuriev 2019-09-18 19:52:50 +03:00
  • 8fa718c5f9 mdbx: refine mdbx.h and API description, etc (4 of 5). Leonid Yuriev 2019-09-18 04:00:16 +03:00
  • 89db804c1a mdbx: refine geo-params management inside txn. Leonid Yuriev 2019-09-17 23:52:51 +03:00
  • d1327b016d mdbx: refine PID checking mdbx_env_close_ex() for closing-after-fork. Leonid Yuriev 2019-09-17 01:04:25 +03:00
  • 86f2710c2e mdbx: return MDBX_RESULT_TRUE/FALSE from mdbx_env_sync_ex(). Leonid Yuriev 2019-09-16 22:23:52 +03:00
  • e03addc8f9 mdbx: ensure to sync meta-mages in env_sync_ex(). Leonid Yuriev 2019-09-16 21:53:08 +03:00
  • 78da9e52c4 mdbx: return consistency info from mdbx_env_stat(). Leonid Yuriev 2019-09-16 20:55:07 +03:00
  • 0d4092f4ea mdbx: add to env_copy() support for pipe/socket. Leonid Yuriev 2019-09-16 14:16:14 +03:00
  • b19e180fab mdbx: refine mdbx.h and API description, etc (3 of 5). Leonid Yuriev 2019-09-15 17:16:31 +03:00
  • 4022110955 mdbx: reset returning-by-pointer result on error. Leonid Yuriev 2019-09-14 18:48:07 +03:00
  • 5f22a5568d mdbx: allow MDBX_MAPASYNC for particular txn. Leonid Yuriev 2019-09-14 17:47:18 +03:00
  • 1402a511a4 mdbx: drop dup-defines MDBX_TXN_NOMETASYNC, MDBX_TXN_NOSYNC, MDBX_TXN_RDONLY. etc. Leonid Yuriev 2019-09-13 12:45:16 +03:00
  • 70929d45fb mdbx: refine mdbx.h for API description, etc (2 of 5). Leonid Yuriev 2019-09-13 04:24:24 +03:00
  • 4bcc1eef09 mdbx: disallow multi-opening without MDBX_DBG_LEGACY_MULTIOPEN. Leonid Yuriev 2019-09-12 21:40:59 +03:00
  • c8928675c6 mdbx: automatically create database directory. Leonid Yuriev 2019-09-12 14:21:43 +03:00
  • 1d08f9e673 mdbx: refine mdbx.h and error strings (1 of 5). Leonid Yuriev 2019-09-12 03:30:10 +03:00
  • eb4159ac88 mdbx-posix: support to close environment after fork() from a child process. Leonid Yuriev 2019-09-12 00:49:10 +03:00
  • 4b979826ec mdbx: fix update_gc() to avoid leaking values from uninit malloc'ed mem. Leonid Yuriev 2019-09-12 00:07:28 +03:00
  • 712bad5935 mdbx-cmake: avoid '-NOTFOUND' inside MDBX_BUILD_FLAGS. Leonid Yuriev 2019-09-11 22:03:11 +03:00
  • 8231aa5b47 mdbx-posix: avoid Coverity warnings (don't try to recover mutex if unlock failed). Leonid Yuriev 2019-09-11 20:51:36 +03:00
  • 7d9d3528c5 mdbx-cmake: fix definitions prefix. Leonid Yuriev 2019-09-11 21:32:25 +03:00
  • 4ea1d2f8d2 mdbx: accept MDBX_EACCESS and MDBX_EPERM for without-LCK read-only mode. Leonid Yuriev 2019-09-11 19:54:08 +03:00
  • 6fc3b89f79 mdbx: add reader_check_timestamp info LCK. Leonid Yuriev 2019-09-11 19:12:57 +03:00
  • 0d8b59fa3b mdbx: check readers while opening. Leonid Yuriev 2019-09-11 18:58:23 +03:00
  • 8f08e1c7ed mdbx: fix cross-build & qemu-testing issues. Leonid Yuriev 2019-09-11 17:02:01 +03:00
  • 228a74c41d mdbx-chk: refine/fix for MAX_DBI case. Leonid Yuriev 2019-09-11 14:34:22 +03:00
  • d461ec1094 mdbx-ci: fix/refine Coverity build, show log file. Leonid Yuriev 2019-09-11 12:15:35 +03:00
  • 17ba1f4d22 mdbx-cmake: fix/refine RPATH for tools. Leonid Yuriev 2019-09-11 01:23:48 +03:00
  • 5cfcc0e3c1 mdbx-cmake: add template for build amalgamated source code. Leonid Yuriev 2019-09-10 22:41:53 +03:00
  • 5e9e417cf6 mdbx-install: refine cmake-install, install man-pages. Leonid Yuriev 2019-09-10 20:00:54 +03:00