Commit Graph

  • 3c4e9443ae mdbx: allow devel-signatures (for Miranga-NG). Leonid Yuriev 2018-10-15 12:18:39 +03:00
  • d2bfb2e489 mdbx: allow pre-define mdbx_malloc/mdbx_free macros. Leonid Yuriev 2018-10-14 18:44:22 +03:00
  • 30a80ff07c mdbx: re-enable usage of lck-file in MDBX_EXCLUSIVE mode. Leonid Yuriev 2018-10-14 18:13:40 +03:00
  • 582adda628 mdbx-windows: fix mdbx_strdup() usage. Leonid Yuriev 2018-10-14 17:28:00 +03:00
  • ae83982811 mdbx-windows: setup DllMain() as entry and don't linking with CRT. Leonid Yuriev 2018-10-14 12:47:29 +03:00
  • 25ab7da33e mdbx-windows: _NO_CRT_STDIO_INLINE to avoid dependency from CRT. Leonid Yuriev 2018-10-14 12:12:44 +03:00
  • 96491db229 mdbx-windows: building and linking mdbx_ntdll_extra.lib Leonid Yuriev 2018-10-14 11:54:19 +03:00
  • d520df6a13 mdbx-windows: add ntdll.def for building ntdll.lib Leonid Yuriev 2018-10-14 11:49:33 +03:00
  • cad9cea33b mdbx-windows: use _wcsnicmp() instead of wcsnicmp() to avoid dependency from CRT. Leonid Yuriev 2018-10-14 11:25:26 +03:00
  • e229dbe9dc mdbx-windows: add mdbx_strdup() to avoid dependency from CRT. Leonid Yuriev 2018-10-14 11:24:59 +03:00
  • b47badb3ee mdbx-windows: rework mdbx_memalign_alloc()/mdbx_memalign_free() to avoid dependency from CRT. Leonid Yuriev 2018-10-14 11:14:14 +03:00
  • f49741b4f8 mdbx-windows: refine mdbx_vasprintf() to avoid dependency from CRT. Leonid Yuriev 2018-10-14 10:35:53 +03:00
  • 80ccb31008 mdbx-windows: avoid use strerror() from CRT. Leonid Yuriev 2018-10-14 10:32:37 +03:00
  • 4dea5c2719 mdbx-windows: use _snprintf() and _vsnprintf() to avoid dependency from CRT. Leonid Yuriev 2018-10-14 01:13:36 +03:00
  • ded5269937 mdbx-windows: rework mdbx_assert_fail() and mdbx_panic() to avoid dependency from CRT. Leonid Yuriev 2018-10-14 01:11:14 +03:00
  • ae2875e248 mdbx: avoid on-stack allocation/chkstk inside mdbx_check4nonlocal(). Leonid Yuriev 2018-10-13 19:07:45 +03:00
  • aa64597e8b mdbx: avoid on-stack allocation/chkstk inside mdbx_env_walk(). Leonid Yuriev 2018-10-13 12:47:12 +03:00
  • 180c605cac mdbx: avoid on-stack allocation/chkstk inside mdbx_reader_check0(). Leonid Yuriev 2018-10-13 12:34:00 +03:00
  • 23d2f0fbb5 mdbx: avoid on-stack allocation/chkstk inside mdbx_kill_page(). Leonid Yuriev 2018-10-13 12:02:17 +03:00
  • 9fae7f92d6 mdbx-windows: use LocalAlloc/LocalFree instead of CRT's malloc/free. Leonid Yuriev 2018-10-13 11:32:46 +03:00
  • ace3d1bfa3 mdbx: add mdbx_malloc/mdbx_free, etc. Leonid Yuriev 2018-10-12 22:01:36 +03:00
  • 777d1db5c9 mdbx-windows: add MDBX_BUILD_DLL and DllMain(). Leonid Yuriev 2018-10-07 22:19:54 +03:00
  • c9e3dc373b mdbx-windows: more for WindowsXP support. Leonid Yuriev 2018-10-06 19:28:16 +03:00
  • 83f3d820f1 mdbx-windows: refine debug-logging. Leonid Yuriev 2018-10-05 15:41:27 +03:00
  • 0f82db941b mdbx: add error-logging to mdbx_page_get(). Leo Yuriev 2018-10-04 16:00:27 +03:00
  • 7a3c8743f3 mdbx: fix use _ASSERTE. Leonid Yuriev 2018-10-03 23:39:32 +03:00
  • 03287b73a1 mdbx-ci: disable CI for old MSVC compilers. Leonid Yuriev 2018-09-30 12:10:43 +03:00
  • 025cf0b00e mdbx: minor fix mdbx_updage_gc(). Leo Yuriev 2018-09-29 16:39:15 +03:00
  • e819099dec mdbx-rpm: fix version for rpm. v0.2.0 Leonid Yuriev 2018-09-25 14:26:18 +03:00
  • a3aa2b5a57 mdbx-doc: import - mdb_cursor_del does not invalidate the cursor (ITS#8857). v0.1.6 moneromooo-monero 2018-05-15 10:53:13 +01:00
  • 02276500c9 mdbx-doc: import - GET_MULTIPLE etc don't return the key (ITS#8908). Howard Chu 2018-08-29 01:25:01 +01:00
  • 2689d0a71f mdbx-doc: import - mdb_cursor_del does not invalidate the cursor (ITS#8857). moneromooo-monero 2018-05-15 10:53:13 +01:00
  • d56c9a881e mdbx-doc: import - GET_MULTIPLE etc don't return the key (ITS#8908). Howard Chu 2018-08-29 01:25:01 +01:00
  • de44ecccd1 mdbx: backport - update MAX_PAGENO and MAX_MAPSIZE64. Leonid Yuriev 2018-09-23 14:31:29 +03:00
  • 5049c86517 mdbx: backport - avoid empty and unneeded large/overflow pages (squashed). Leonid Yuriev 2018-09-23 13:06:06 +03:00
  • d2854e0760 mdbx: backport - refine mdbx_chk (squashed). Leonid Yuriev 2018-09-23 12:37:37 +03:00
  • 5a29214ad9 mdbx-test: backport - update 'gc.sh' script (squashed). Leonid Yuriev 2018-09-23 12:37:33 +03:00
  • b51d92d449 mdbx-test: backport - update test (squashed). Leonid Yuriev 2018-09-23 12:37:28 +03:00
  • 6da477d37f mdbx-ci: backport - refines for Windows (squashed). Leonid Yuriev 2018-09-23 12:37:23 +03:00
  • 6150a8c903 mdbx: backport - fix/refine mdbx_update_gc() (squashed). Leonid Yuriev 2018-09-23 12:36:49 +03:00
  • f3e9731da4 mdbx: backport - move macros/inlines to fix Windows builds. Leonid Yuriev 2018-09-19 00:21:42 +03:00
  • 353b6b8af0 mdbx: backport - refine assections (minor). Leonid Yuriev 2018-09-18 21:10:14 +03:00
  • 3f10e58df2 mdbx: backport - re-define assert macro via mdbx_assert. Leonid Yuriev 2018-09-18 21:07:01 +03:00
  • d232737087 mdbx: backport - add MDBX_FORCE_ASSERT. Leonid Yuriev 2018-09-18 18:16:24 +03:00
  • e32ca55258 mdbx: backport - fix tracking around mdbx_cursor_del(). Leo Yuriev 2018-09-11 16:55:22 +03:00
  • f57ffc987c mdbx: backport - drop inherited broken audit (will be fixed in the master branch). Leonid Yuriev 2018-09-22 23:08:11 +03:00
  • cdd510d20e mdbx: backport - prevent DB corruption due rebalance bugs. Leonid Yuriev 2018-09-22 23:05:04 +03:00
  • d757ba1266 mdbx: backport - fix MDBX_CORRUPTED due open/shrink collision. Leo Yuriev 2018-09-13 19:21:57 +03:00
  • 337f7589f8 mdbx: backport - fix mdbx_pnl_search(). Leonid Yuriev 2018-09-22 22:48:01 +03:00
  • 912728a322 mdbx: backport - fix mdbx_replace(). Leonid Yuriev 2018-09-16 17:53:35 +03:00
  • 204b5a532d mdbx: backport - shorten maxkeysize (will be fixed in the master branch). Leonid Yuriev 2018-08-31 03:03:53 +03:00
  • 014be165c3 mdbx: backport - allow GC's PNL be partially unused. Leonid Yuriev 2018-09-03 14:27:38 +03:00
  • a9244f807b mdbx: backport - setup mdbx_cmp_memn() as data-comparator for safety. Leonid Yuriev 2018-08-24 04:04:24 +03:00
  • 6d438605dd mdbx: backport - check comparator for MDBX_GET_BOTH and MDBX_GET_BOTH_RANGE. Leonid Yuriev 2018-08-24 04:00:59 +03:00
  • 34300150a1 mdbx: backport - don't touch mm_psize and mm_flags while provoking bad readers (debug-only). Leo Yuriev 2018-08-23 16:13:47 +03:00
  • 1b2b98234f mdbx: backport - fix concurrent opening with custom pagesize (get pagesize from meta-page early). Leo Yuriev 2018-08-23 15:32:20 +03:00
  • bd672a5583 mdbx: backport - add mdbx_limits_xyz() (squashed). Leonid Yuriev 2018-08-20 12:30:09 +03:00
  • 888003c072 mdbx: backport - fix comments typos (squashed). Leonid Yuriev 2018-08-19 02:04:44 +03:00
  • bc6db4e4d7 mdbx: backport - allow mdbx_env_compact() to fix page leaks. Leo Yuriev 2018-06-30 00:42:29 +03:00
  • 0b870648af mdbx-chk: use txnid as record-number for GC. Leonid Yuriev 2018-09-23 10:57:04 +03:00
  • 2ff1096c49 mdbx: refine mdbx_update_gc(). Leonid Yuriev 2018-09-22 10:47:51 +03:00
  • c5e72817ca mdbx-doc: import - mdb_cursor_del does not invalidate the cursor (ITS#8857). v0.0.4 moneromooo-monero 2018-05-15 10:53:13 +01:00
  • e1ce55d0e6 mdbx-doc: import - GET_MULTIPLE etc don't return the key (ITS#8908). Howard Chu 2018-08-29 01:25:01 +01:00
  • d23a3f3bc4 mdbx: drop inherited broken audit. Leonid Yuriev 2018-09-21 15:55:05 +03:00
  • b1620bbe47 mdbx: backport - prevent DB corruption due rebalance bugs. Leonid Yuriev 2018-09-21 15:15:13 +03:00
  • cd1b9ea1cf mdbx: fix and simplify lifo-cleanup-loop inside update_gc(). Leonid Yuriev 2018-09-21 02:36:04 +03:00
  • 31810c9957 mdbx-test: drop obsolete failfast cases inside 'gc.sh' script. Leonid Yuriev 2018-09-21 00:18:43 +03:00
  • a5cdbda9d8 mdbx-test: store 'log.lz4' on tmpfs. Leonid Yuriev 2018-09-21 01:04:35 +03:00
  • b868765ddf mdbx-test: reduce repeats number inside 'gc.sh' script. Leonid Yuriev 2018-09-20 23:29:23 +03:00
  • 2fc42fab7f mdbx-test: add simple loop.bat for Windows. Leonid Yuriev 2018-09-20 23:03:30 +03:00
  • 60271687ef mdbx-test: workaround for QueryFullProcessImageNameA() bug. Leonid Yuriev 2018-09-20 22:45:38 +03:00
  • d6c954cd43 mdbx: remove txnid/me_oldest asserts. Leonid Yuriev 2018-09-20 12:29:49 +03:00
  • 0b4c957bd5 mdbx: fix mdbx_find_oldest() for exclusive mode. Leonid Yuriev 2018-09-20 00:04:09 +03:00
  • e73df34619 mdbx: fix Coverity warnings (minor). Leonid Yuriev 2018-09-19 22:04:34 +03:00
  • f7bd98a4ce mdbx-chk: allow gap for GC's PNL upto one page. Leonid Yuriev 2018-09-19 17:06:56 +03:00
  • 82c975e174 mdbx: rework/fix cursor tracking inside mdbx_update_gc(). Leonid Yuriev 2018-09-19 14:50:50 +03:00
  • 4117c9f111 mdbx: move macros/inlines to fix Windows builds. Leonid Yuriev 2018-09-19 00:21:42 +03:00
  • b52e878c4f mdbx-chk: allow gap for GC's PNL upto half of page. Leonid Yuriev 2018-09-18 22:31:39 +03:00
  • c4e1c2b488 mdbx: refine assections (minor). Leonid Yuriev 2018-09-18 21:10:14 +03:00
  • 60bba72aa1 mdbx: re-define assert macro via mdbx_assert. Leonid Yuriev 2018-09-18 21:07:01 +03:00
  • 8e8b40e7a2 mdbx: fix update_gc() assertion. Leonid Yuriev 2018-09-18 20:50:47 +03:00
  • ab5668cf29 mdbx: add MDBX_FORCE_ASSERT. Leonid Yuriev 2018-09-18 18:16:24 +03:00
  • d6d03639a2 mdbx: one more fix/refine mdbx_update_gc(). Leonid Yuriev 2018-09-18 18:12:45 +03:00
  • 137f443e57 mdbx-test: fix sleep/child-signal handling. Leonid Yuriev 2018-09-17 16:57:26 +03:00
  • c6dccdc91a mdbx-test: fix MSVC warnings (minor). Leonid Yuriev 2018-09-17 16:21:09 +03:00
  • c287f88dbd mdbx: fix update_gc() for rare case when no reclaiming was made before. Leonid Yuriev 2018-09-17 14:21:32 +03:00
  • 844e39ebef mdbx-test: seeding keygen with actor_id for better spreading. Leonid Yuriev 2018-09-17 13:21:05 +03:00
  • 01ae5bad7d mdbx-test: add data-check before delete/update. Leonid Yuriev 2018-09-17 13:06:43 +03:00
  • 68fd9c9908 mdbx: add mdbx_get2() for testing. Leonid Yuriev 2018-09-17 10:35:06 +03:00
  • 940138fbda mdbx: rework prefer_max_scatter inside mdbx_update_gc(). Leonid Yuriev 2018-09-17 01:24:57 +03:00
  • 79633ecfd7 mdbx-test: add int-key/int-data cases to 'gc.sh'. Leonid Yuriev 2018-09-17 00:32:02 +03:00
  • 35cf4bb60f mdbx: add validation for DUPSORT flags. Leonid Yuriev 2018-09-16 18:37:56 +03:00
  • a91eef0c0f mdbx-test: cleanup DUPSORT flags. Leonid Yuriev 2018-09-16 18:52:32 +03:00
  • ff336fa65e mdbx: fix mdbx_replace(). Leonid Yuriev 2018-09-16 17:53:35 +03:00
  • 5cc4bec7b7 mdbx-test: avoid extra 'jitter' testcase loops. Leonid Yuriev 2018-09-16 22:01:56 +03:00
  • 49a3e04d92 mdbx: restore MDBX_SET behaviour. Leonid Yuriev 2018-09-16 17:49:56 +03:00
  • 0a6af9bca0 mdbx-test: switch to 'basic' testcase in 'gc.sh' script. Leonid Yuriev 2018-09-16 21:03:04 +03:00
  • bcbf040f5d mdbx: drop obsolete commented-out mdbx_node_add(). Leonid Yuriev 2018-09-16 16:08:09 +03:00
  • 40edf7e323 mdbx: refine mdbx_update_gc(), add extra audit. Leonid Yuriev 2018-09-15 15:19:16 +03:00
  • c945359858 mdbx: remove "" from debug-strings. Leonid Yuriev 2018-09-15 10:17:03 +03:00