Commit Graph

3000 Commits

Author SHA1 Message Date
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
4507c1c6bb mdbx: more yields as workaround for pthreads bug.
Backport 719ecd55cf1d0ea7d6771248b3936f056bc49a47 from https://github.com/ReOpen/ReOpenLDAP

Change-Id: I6bead57782a29fca5352055db6afee02ad1ee38b
2017-03-24 01:19:28 +03:00
Howard Chu
36bc576036 mdbx: backport - ITS#8622 fix xcursor after cursor_del.
Re-fix 6b1df0e4c7fadd21d1233d7157229b2d89ccaa04 from ITS#8406

Change-Id: Ied16e11c06fc3ce626ee4885d153aff98e5f8802
2017-03-24 00:56:22 +03:00
Leo Yuriev
95e606606a mdbx: subdirs.
Change-Id: Iea70b29ed39f55ee363729300f6ce54127b4e880
2017-03-16 18:04:56 +03:00
Leo Yuriev
c0c4742dba mdbx: Merge branch 'master' into 'nexenta' branch.
Change-Id: Iade70bae46bc4ea4baac36b3ed86434519959274
2017-03-16 15:23:15 +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
Leo Yuriev
e080be1631 mdbx: add mdbx_is_dirty() for libfpta. 2017-01-30 22:03:27 +03:00
Leo Yuriev
55c43291c6 mdbx: undef NDEBUG when MDB_DEBUG != 0. 2017-01-30 20:17:33 +03:00
Leo Yuriev
6882d9c104 mdbx: add MDBX_RESULT_FALSE and MDBX_RESULT_TRUE for libfpta. 2017-01-30 20:17:27 +03:00
Leo Yuriev
ab6cc14480 mdbx: zero-length key is not an error for MDBX. 2017-01-27 19:30:55 +03:00