Commit Graph

489 Commits

Author SHA1 Message Date
Leo Yuriev
cb6ac8912f mdbx: now MDBX_MODE_ENABLED always. 2017-03-31 12:46:09 +03:00
Leo Yuriev
7d351f74c4 mdbx: rename mdbx_stat() to mdbx_dbi_stat(). 2017-03-29 18:52:55 +03:00
Leo Yuriev
40f8f53b0e mdbx: add TODO.md 2017-03-29 15:41:53 +03:00
Leonid Yuriev
5f7e5547c3 mdbx: add .appveyor.yml 2017-03-29 01:22:35 +03:00
Leo Yuriev
9731e07120 mdbx: uint32/uint64 for INTEGER_KEY. 2017-03-29 00:53:39 +03:00
Leo Yuriev
69a6d10a8a mdbx: crutch for Windows's UnlockFile(). 2017-03-29 00:53:39 +03:00
Leo Yuriev
e9ea16a54e mdbx: adds test7 by Klaus Malorny <klaus.malorny@knipp.de> 2017-03-29 00:53:39 +03:00
Howard Chu
c25934a8dd mdbx: backport - fix xcursor after cursor_del (ITS#8622).
Re-fix 6b1df0e4c7fadd21d1233d7157229b2d89ccaa04 from ITS#8406

Change-Id: I177bef20cfa4b464a38cb42d66b7134f84434490
2017-03-29 00:53:39 +03:00
Leo Yuriev
12954bc49b mdbx: Qt-Creator project. 2017-03-29 00:53:39 +03:00
Leo Yuriev
bfac83a3b8 mdbx: MSVC project/solution for DLL. 2017-03-29 00:53:39 +03:00
Leo Yuriev
0f49ed6e53 mdbx: big-bang (initial).
- OS Abstraction Layer;
 - Windows Support.
 - preparation for more changes.

Change-Id: I53772eda9091ba361cbc9a28656190ea0d4c5cee
2017-03-29 00:53:39 +03:00
Leo Yuriev
95e606606a mdbx: subdirs.
Change-Id: Iea70b29ed39f55ee363729300f6ce54127b4e880
2017-03-16 18:04:56 +03:00
Leo Yuriev
c2fda6be5a mdbx: refine mdbx_is_dirty(). 2017-03-06 20:18:42 +03:00
Leo Yuriev
f4bf454298 mdbx: refine error-msg. 2017-02-28 19:41:47 +03:00
Leo Yuriev
57dc59ecfb mdbx: add mdbx_strerror_r(). 2017-02-28 16:54:10 +03:00
Leo Yuriev
8fb2523276 mdbx: add MDBX_EBADSIGN. 2017-02-27 21:37:45 +03:00
Leo Yuriev
00ec50cfb3 mdbx: partially remove Doxygen tags. 2017-02-27 20:55:17 +03:00
Leo Yuriev
d2d8403f45 mdbx: drop MDB_rel_func and related. 2017-02-27 20:12:55 +03:00
Leo Yuriev
a034502657 mdbx: fix wrong cursor's state after a deletion. 2017-02-21 23:13:54 +03:00
Leo Yuriev
44b378b8ea mdbx: refine mdbx_cursor_get(). 2017-02-21 23:13:54 +03:00
Leo Yuriev
abc7dca247 mdbx: MDB_END_EOTDONE and refine txn_commit(). 2017-02-21 23:13:54 +03:00
Leo Yuriev
3d08b9e76f mdbx: fix mdbx_node_search(). 2017-02-21 23:13:54 +03:00
Leo Yuriev
daa08e6102 mdbx: assert for NODEPTR. 2017-02-21 23:13:54 +03:00
Leo Yuriev
febe2e2748 mdbx: minor refine clearing C_DEL. 2017-02-21 23:13:54 +03:00
Leo Yuriev
2dc3e1ee5f mdbx: reformat and some cleanup (1/3 for rebirth). 2017-02-21 23:13:03 +03:00
Leo Yuriev
e88adf3969 mdbx: preparation to rebirth. 2017-02-21 21:15:32 +03:00
Leo Yuriev
a006f082b8 mdbx: return to devel stage. 2017-02-17 22:18:12 +03:00
Leo Yuriev
b950b010bf mdbx: update version timestamp.
https://en.wikipedia.org/wiki/Institute_of_Mathematical_Problems_of_Biology
17 февраля 1972 — организован Научно-исследовательский вычислительный центр (НИВЦ) АН СССР.
2017-02-17 22:09:41 +03:00
Leo Yuriev
9436a78e08 mdbx: update README. 2017-02-17 22:02:07 +03:00
Leo Yuriev
99485fc9ac mdbx: Merge branch 'master' into 'devel' (junction point). 2017-02-17 21:50:36 +03:00
Leo Yuriev
d573c9d54e mdbx: fix mdbx_cursor_on_last(). 2017-02-17 19:56:29 +03:00
Leo Yuriev
121f09af22 mdbx: Merge branch 'devel'. 2017-02-16 14:36:12 +03:00
Leo Yuriev
1708025651 mdbx: don't close/lost DBI-handles on ro-txn renew/reset.
More for d0383e5aeeb29fc07b568a0d4b5287d539be5d0d

Also this is related to:
 - https://github.com/ReOpen/ReOpenLDAP/issues/119 (its6794 regression test may fail)
 - https://github.com/ReOpen/ReOpenLDAP/issues/92 (rare test060-mt-hot failures)
2017-02-16 14:23:32 +03:00
Leo Yuriev
41576e553c mdbx: fix cursor-untrack bug.
Fix segfault possibility,
during closing the cursor after a write-txn.
2017-02-16 14:23:32 +03:00
Leo Yuriev
f75fa27fe6 mdbx: don't close DBI-handles from R/O txn_abort().
This is related to:
 - https://github.com/ReOpen/ReOpenLDAP/issues/119 (its6794 regression test may fail)
 - https://github.com/ReOpen/ReOpenLDAP/issues/92 (rare test060-mt-hot failures)
2017-02-15 21:09:05 +03:00
Leo Yuriev
2b924524ec mdbx: initial mdbx_cursor_on_ first/last(). 2017-02-15 21:09:05 +03:00
Leo Yuriev
d47d8c25d8 mdbx: drop unused 'flags' from mdb_env_walk(). 2017-02-15 21:08:59 +03:00
Leo Yuriev
cf8ef06ebc mdbx: 'unlikely' for DB_STALE. 2017-02-15 20:04:20 +03:00
Leo Yuriev
acdaeeab5c mdbx: notes about free/reuse cursors. 2017-02-15 19:51:09 +03:00
Leo Yuriev
284712a9d4 mdbx: Merge branch 'devel' branch.
Change-Id: I7430c4078a4cba86b885db25643ddb57bf5fc6a8
2017-02-09 11:56:48 +03:00
Leo Yuriev
6f600845f3 mdbx: more for robustness free/reuse of cursors.
Change-Id: I6c4056bc47aea28d39701713f97694a4ebe9b582
2017-02-09 11:47:35 +03:00
Leo Yuriev
eb4eda6368 mdbx: append README. 2017-02-08 18:15:19 +03:00
Leo Yuriev
ed925640c8 mdbx: zero-length data is not an error for MDBX. 2017-02-08 16:46:05 +03:00
Leo Yuriev
16fe998f7c mdbx: fix losing a zero-length value of sorted-dups (for libfpta). 2017-02-07 20:57:06 +03:00
Leo Yuriev
4681620e66 mdbx: don't ignore data arg in mdb_del() for libfpta. 2017-02-02 13:15:16 +03:00
Leo Yuriev
c9b7c0f4d1 mdbx: rework mdbx_replace() for libfpta. 2017-01-31 19:16:16 +03:00
Leo Yuriev
18654ccf22 mdbx: fix MDB_CURRENT for MDB_DUPSORT in mdbx_cursor_put() for libfpta. 2017-01-31 19:16:16 +03:00
Leo Yuriev
d3518bf75b mdbx: fix LEAF2-pages handling in mdb_cursor_count(). 2017-01-31 19:16:16 +03:00
Leo Yuriev
7bf9d381ee mdbx: minor simplify mdb_del0(). 2017-01-31 19:16:16 +03:00
Leo Yuriev
61e1efeb85 mdbx: add mdbx_dbi_open_ex() for libfpta. 2017-01-31 02:52:59 +03:00