499 Commits

Author SHA1 Message Date
Leo Yuriev
095cd25e23 mdbx: check sys-pagesize for power-of-2. 2017-04-05 18:33:19 +03:00
Leo Yuriev
b558757cf1 mdbx: roundup readers/lck-filesize. 2017-04-05 18:21:24 +03:00
Leo Yuriev
0b400c5dd0 mdbx: fix posix mdbx_mmap(). 2017-04-05 18:21:05 +03:00
Leo Yuriev
fcb63130d6 mdbx: fix posix mdbx_lck_destroy(). 2017-04-05 18:20:25 +03:00
Leo Yuriev
f51c8dae72 mdbx: add VS2013/2012/2010 for appveyor matrix. 2017-04-04 15:42:30 +03:00
Leo Yuriev
6d507233cc mdbx: snprintf/vsnprintf stub for MSC. 2017-04-04 15:35:52 +03:00
Leo Yuriev
ab4597cedc mdbx: add MDBX_MAXDATASIZE. 2017-03-31 17:59:45 +03:00
Leo Yuriev
a2593625cc mdbx: add mdbx_get_maxkeysize(). 2017-03-31 17:59:45 +03:00
Leo Yuriev
5c5ef256b3 mdbx: change mdbx_dkey(). 2017-03-31 17:04:45 +03:00
Leo Yuriev
f8eb858ef3 mdbx: drop MDB_MAXKEYSIZE. 2017-03-31 17:04:36 +03:00
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 — организован Научно-исследовательский вычислительный центр (НИВЦ) АН СССР.
LMDB_0.9.19
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