Commit Graph

  • af7b468e63 mdbx: use uint64_t or size_t insted of off_t (buggy on Windows). Leo Yuriev 2017-05-24 18:50:24 +03:00
  • 7ef7e70012 mdbx: add STATIC_ASSERT. Leo Yuriev 2017-05-24 18:42:13 +03:00
  • 96b9af0b4d mdbx: minor refine idl functions. Leo Yuriev 2017-05-24 15:50:03 +03:00
  • 924e81ed92 mdbx: refine includes, drop midl.h and mdbx_osal.h Leo Yuriev 2017-05-24 13:59:50 +03:00
  • dd7855c30d mdbx: cleanup tabs (minor). Leo Yuriev 2017-05-24 13:37:06 +03:00
  • 8af6291d50 test: set default db-size to 4M. Leo Yuriev 2017-05-24 02:46:51 +03:00
  • 38deb14ee4 test: fix STDERR_FILENO for MSVC. Leo Yuriev 2017-05-24 02:43:43 +03:00
  • a6c8c1ad08 test: add simple progress indicator. Leo Yuriev 2017-05-24 02:16:25 +03:00
  • 06de7a5155 mdbx: rename the rest MDBX_xyz. Leo Yuriev 2017-05-24 01:42:10 +03:00
  • 62ebc59330 mdbx: rework version info (stub for now). Leo Yuriev 2017-05-24 01:07:15 +03:00
  • 88ea2768f5 mdbx: fix gcc 'comparison is always true' warning. Leo Yuriev 2017-05-23 22:31:07 +03:00
  • 3fa09a9937 test: setup oom-callback for retry. Leo Yuriev 2017-05-23 22:08:18 +03:00
  • 2c43997026 mdbx: change mdbx_env_set_oomfunc() API. Leo Yuriev 2017-05-23 22:07:35 +03:00
  • 132c9c994e mdbx: add mdbx_fastmutex_t. Leo Yuriev 2017-05-23 21:54:06 +03:00
  • 8c18622592 mdbx: rework MDBX_val. Leo Yuriev 2017-05-23 21:05:54 +03:00
  • ac8e987346 mdbx: rework MDBX_txn. Leo Yuriev 2017-05-23 21:36:09 +03:00
  • 34213c554a mdbx: rework MDBX_reader. Leo Yuriev 2017-05-23 21:16:59 +03:00
  • a3ed42b999 mdbx: rework MDBX_page, drop COPY_PGNO. Leo Yuriev 2017-05-23 21:04:23 +03:00
  • 8f2c21e2ba mdbx: rework MDBX_node. Leo Yuriev 2017-05-23 21:02:39 +03:00
  • aa80ef7e71 test: add hill testcase. Leo Yuriev 2017-05-17 20:10:56 +03:00
  • 8828e90ff9 mdbx: mdbx_condmutex_t instead of mutex/condvar pair. Leo Yuriev 2017-05-23 18:40:21 +03:00
  • 2f97939efd mdbx: more cleanup mdbx_midl_sort(). Leo Yuriev 2017-05-23 15:42:14 +03:00
  • eff0f92fa7 mdbx-tools: replace size_t/PRIuPTR with uint64_t/PRIu64. Leo Yuriev 2017-05-23 14:47:49 +03:00
  • 0cd30792bb mdbx: split MDB_ID into pgno_t and txnid_t. Leo Yuriev 2017-05-23 14:49:12 +03:00
  • 5c2042c466 tools: internal minor renames (preparation for changes). Leo Yuriev 2017-05-23 16:46:55 +03:00
  • 8b9e391dd0 mdbx: cleanup internals (mostly formatting, but not only). Leo Yuriev 2017-05-23 14:44:53 +03:00
  • 277bdfb4c4 mdbx: cleanup formatting for mdbx.h Leo Yuriev 2017-05-22 20:02:36 +03:00
  • 398b839b98 mdbx: drops old/obsolete API (mdbx_env_copy and mdbx_env_copydf). Leo Yuriev 2017-05-22 20:02:23 +03:00
  • 0eee938c5f mdbx: add MDBX_EIO. Leo Yuriev 2017-05-22 19:59:16 +03:00
  • 994481e4f4 mdbx: replace size_t with uint64_t/uint32_t in API. Leo Yuriev 2017-05-22 19:57:54 +03:00
  • 0c9832fc28 ci: add TESTDB into Makefile. Leo Yuriev 2017-05-23 14:40:37 +03:00
  • d0793a1daf mdbx: fix MDB_DUPSORT with MDB_CURRENT update bug. Leo Yuriev 2017-05-19 16:20:02 +03:00
  • 82d3595b76 mdbx: add MDBX_EKEYMISMATCH. Leo Yuriev 2017-05-22 14:02:33 +03:00
  • d9eeac45b2 mdbx: fix extra-logging without NDEBUG, but with MDBX_DEBUG=0. Leo Yuriev 2017-05-19 00:31:54 +03:00
  • 0810f4e105 mdbx: fix MDBX_CORRUPED error (nasty copy&paste bug). Leo Yuriev 2017-05-18 22:11:47 +03:00
  • b4fd0500d1 mdbx: more lck-debug. Leo Yuriev 2017-05-18 15:36:53 +03:00
  • d2af39fd73 mdbx: more for without-lck mode (not completed). Leo Yuriev 2017-05-18 15:36:32 +03:00
  • fd8be99282 mdbx: cleanup mdbx_env_init_metas(). Leo Yuriev 2017-05-18 05:04:31 +03:00
  • 818e742c58 mdbx: cleanup mdbx_env_create(). Leo Yuriev 2017-05-18 04:58:02 +03:00
  • 6ee3aebc32 mdbx: use flock() for share/exclusive lck. Leo Yuriev 2017-05-18 14:00:40 +03:00
  • 1431e3e5bf test: fix logging for stupid MSVC. Leo Yuriev 2017-05-18 14:14:59 +03:00
  • 4481555c90 mdbx: refine mdbx_dkey() API. Leo Yuriev 2017-05-17 22:17:24 +03:00
  • c479c5ff15 mdbx: rework mdbx_env_sync(). Leo Yuriev 2017-05-18 02:21:39 +03:00
  • 7a4541f598 mdbx: minor cleanup. Leo Yuriev 2017-05-17 20:09:40 +03:00
  • 00be62e235 mdbx: cleanup formating. Leo Yuriev 2017-05-17 20:06:57 +03:00
  • ec114d06b7 test: add log_extra(). Leo Yuriev 2017-05-17 18:49:19 +03:00
  • 677625ead1 mdbx: add MDBX_WANNA_RECOVERY. Leo Yuriev 2017-05-17 20:54:16 +03:00
  • 015a242c89 mdbx: rollback weak checkpoint or MDB_CORRUPTED. Leo Yuriev 2017-05-17 17:23:54 +03:00
  • bfa3e864b6 test: fix logging va_copy() bug. Leo Yuriev 2017-05-17 15:46:44 +03:00
  • 6d7bfeb87a mdbx: add 'pipefail' to makefile's check target. Leo Yuriev 2017-05-17 20:25:16 +03:00
  • ed46246931 mdbx: rework mdbx_dbi_open(). Leo Yuriev 2017-05-15 21:18:52 +03:00
  • 5fdad46cb9 mdbx: add translation by Yandex. Leo Yuriev 2017-05-15 13:03:09 +03:00
  • 00081298d6 mdbx: add mdbx_get_errno_checked(). Leo Yuriev 2017-05-15 12:08:04 +03:00
  • 533e01cc93 mdbx: change mdbx_dbi_close() API. Leo Yuriev 2017-05-10 20:27:30 +03:00
  • e8a430999c mdbx: hush MSVC warnings for atomic stubs. Leo Yuriev 2017-05-10 19:26:56 +03:00
  • 29f01cf3f4 mdbx: use PRIuPTR/PRIiPTR/PRIxPTR instead of %z. Leo Yuriev 2017-05-10 19:16:14 +03:00
  • 8848df34bc mdbx: check gcc/clang version for stdatomic.h Leo Yuriev 2017-04-27 18:33:05 +03:00
  • 4e9b734b52 mdbx: fix mdbx_read_header(). Leo Yuriev 2017-04-27 18:06:07 +03:00
  • 82f053a685 mdbx: more debug for lck-seize. Leo Yuriev 2017-04-27 18:14:19 +03:00
  • 678e4f5738 mdbx: more check/debug around mdbx_pread() and mdbx_read_header(). Leo Yuriev 2017-04-27 18:13:39 +03:00
  • f8903ca7c7 mdbx: minor refine/speedup mdbx_cursor_put(). Leo Yuriev 2017-04-27 18:06:41 +03:00
  • 150f2c0afc test: log error into stdout too. Leo Yuriev 2017-04-27 16:22:57 +03:00
  • 4b2cb66453 mdbx: use mdbx_jitter4testing() for race detection. Leo Yuriev 2017-04-27 15:51:58 +03:00
  • 7204c46421 mdbx: add mdbx_osal_jitter() and mdbx_jitter4testing(). Leo Yuriev 2017-04-27 15:18:33 +03:00
  • 40dee6f05f mdbx: rework mdbx_read_header(). Leo Yuriev 2017-04-27 15:17:30 +03:00
  • 7a5decc779 ci: add circle.yml Leo Yuriev 2017-04-27 02:11:21 +03:00
  • baf0fad11d mdbx: fix snap-state bug (backport). Leo Yuriev 2017-04-27 01:50:19 +03:00
  • fd078ee163 mdbx: check for txnid overflow (paranoia). Leo Yuriev 2017-04-27 01:27:41 +03:00
  • 9e07b71c27 mdbx: fix snap-state bug. Leo Yuriev 2017-04-27 01:26:33 +03:00
  • d5b5434fa6 test: reduce short jitter-delay to 1ms. Leonid Yuriev 2017-04-27 00:20:48 +03:00
  • 939285bef2 mdbx: add atomics-ops for assertions. Leo Yuriev 2017-04-26 18:14:49 +03:00
  • 7ec571c9a0 mdbx: partial cleanup/reformat comments. Leo Yuriev 2017-04-26 18:12:48 +03:00
  • 333e5fada3 mdbx: internal cleanup (rename, etc). Leo Yuriev 2017-04-26 18:13:48 +03:00
  • 953c6962ea test: minor typo fix. Leo Yuriev 2017-04-26 18:15:09 +03:00
  • 99002d016f mdbx: add yielding for lck-testing for Windows if NDEBUG undefined. Leo Yuriev 2017-04-26 14:17:52 +03:00
  • 9a2806c6a8 test: add failfast option. Leo Yuriev 2017-04-25 20:02:28 +03:00
  • 5ed0ccfcbb mdbx: rework mdbx_pread(). Leo Yuriev 2017-04-25 19:58:00 +03:00
  • aa59522dbe mdbx: minor refine open-path. Leo Yuriev 2017-04-25 19:51:23 +03:00
  • 326dea8bc1 mdbx: use FormatMessage() for Windows. Leo Yuriev 2017-04-25 19:17:57 +03:00
  • f91218bda4 ci: Push-AppveyorArtifact on failure. Leo Yuriev 2017-04-25 18:30:31 +03:00
  • 99abf56c6c test: fix now_realtime() for Windows. Leo Yuriev 2017-04-25 16:09:02 +03:00
  • 925064aa11 test: add us-timestamp to logs. Leo Yuriev 2017-04-25 15:00:36 +03:00
  • e7e8e1c59a test: refine reciprocal division (chrono). Leonid Yuriev 2017-04-25 00:26:11 +03:00
  • 993730d2f1 mdbx: more cleanup for Windows. Leo Yuriev 2017-04-24 19:37:01 +03:00
  • 66d842c23b ci: provide test.log Leo Yuriev 2017-04-24 19:03:38 +03:00
  • e98a1e5319 mdbx: move MDBX_LOCK_SUFFIX to API defs. Leo Yuriev 2017-04-24 17:52:56 +03:00
  • 1b26de1f44 ci: rename appveyor.yml Leo Yuriev 2017-04-24 16:35:02 +03:00
  • 0d59cd4fe2 mdbx: rework lck/body setup. Leo Yuriev 2017-04-24 15:51:21 +03:00
  • 19d877635c mdbx: alter db-file extensions. Leo Yuriev 2017-04-24 15:50:43 +03:00
  • 2e54210e79 mdbx: add mdbx_osal.h with platform-like err codes. Leo Yuriev 2017-04-24 15:45:20 +03:00
  • f7507110ef mdbx: alter mdbx_txn_id() API. Leo Yuriev 2017-04-24 14:13:52 +03:00
  • 297190e308 ci: add circle.yml Leo Yuriev 2017-04-23 21:44:27 +03:00
  • 522d0aa498 ci: fix appveyor.yml test params. Leo Yuriev 2017-04-23 21:39:10 +03:00
  • 32937ac63b test: canary fetch/update for jitter testcase. Leo Yuriev 2017-04-23 19:00:28 +03:00
  • ce9c4acea6 mdbx: fix mdbg_canary_put(). Leo Yuriev 2017-04-23 18:59:16 +03:00
  • 1bddc9dcbc mdbx: change mdbx_canary_get() API. Leo Yuriev 2017-04-23 18:58:38 +03:00
  • 11ac6a02ff mdbx: rework posix-lck. Leo Yuriev 2017-04-23 13:52:53 +03:00
  • 6b4f92b22e mdbx: rework windows-clk. Leo Yuriev 2017-04-23 12:57:27 +03:00
  • 1596bceff2 mdbx: rework mdbx_env_setup_locks()'s tasks. Leo Yuriev 2017-04-23 12:56:34 +03:00
  • a0f1d61a4a test: fixup for Windows. Leo Yuriev 2017-04-23 12:55:45 +03:00