115 Commits

Author SHA1 Message Date
Leo Yuriev
68171d5f5d lmdb: provide both interfaces - advanced 'mdbx' and original 'lmdb'. 2015-10-13 23:50:25 +03:00
Luke Yeager
8e7fbfa063 lmdb: ITS#8256 Create install directories if needed.
Change-Id: Ie44f8529989fd77da0415d0c898b4af3451a851a
2015-10-06 09:59:51 +03:00
Leo Yuriev
fa0751771e lmdb: properly link with librt.so compatibility.
Add '--no-as-needed' to LDFLAGS before -lrt.

Otherwise ld may drop dependency to librt.so,
and DSO could't be loaded when glibc < 2.17.

Change-Id: I06f34958d7efc8c56dd80ce2a55a2b8425e791cd
2015-09-05 18:30:30 +03:00
Leo Yuriev
abda67f23e lmdb: minor Makefile update, CFLAGS from environment.
Change-Id: I1c36f6bbc064136b404b5de18a88961309883018
2015-09-05 13:18:58 +03:00
Leo Yuriev
537fc0fe1a lmdb: simple write benchmark.
Change-Id: Iadcbe8ad5922b2ecf1ea597b188ef368bc097185
2015-08-24 03:36:55 +03:00
Leo Yuriev
255fbfa303 lmdb: added '-v' when calling mdb_chk after tests.
Change-Id: Ic897a3e3d7935ced380f18cd4f2d99219bd77d70
2015-08-05 22:59:18 +03:00
Leo Yuriev
1581fecd08 lmdb: test for weak-checkpoints feature.
This is 8/9 for https://github.com/ReOpen/ReOpenLDAP/issues/1
and https://github.com/ReOpen/ReOpenLDAP/issues/2

Change-Id: I2bd2d62a9b79d2953409c865fad699d554c4b694
2015-05-21 21:40:39 +03:00
Leo Yuriev
da5e3d5133 lmdb: fix test#6 and run it by 'make test'.
Change-Id: I3a5bb363368f46576a5acaf332f9fd7feb46a3e5
2015-05-15 02:24:53 +03:00
Leo Yuriev
7919a0f124 lmdb: run all test with mdb_chk by 'make test'.
Change-Id: If1b742505f23de807b99a5068b5c38421f7ed197
2015-05-09 01:00:27 +03:00
Leo Yuriev
23720958b6 lmdb: mdb_chk tool (initial).
Change-Id: I7d31e0fb45ab56cf8d6df56939e5b3ded6b8e3e5
2015-05-08 03:47:17 +03:00
Leo Yuriev
ae9fdb3a26 lmdb: minor refine 'make test'.
Change-Id: I8c1671b4680d889e04bec3e0b5cd556520854df6
2015-04-23 08:11:18 +03:00
Leo Yuriev
9a76b0a008 liblmdb: fix warnings in lmdb-tools.
Change-Id: I1a1de4bcb9ce9b27f9278f74535e6e83de25bad0
2015-03-24 17:12:08 +03:00
Leo Yuriev
88b465a6ed lmdb-tools: fir LTO-build - use CFLAGS and AR instead of directly. 2015-03-18 09:43:15 +03:00
Leo Yuriev
3fd4f9cce0 lmdb: rework workaround for potential ext3/ext4 corruption issue.
Reworked from branch 'mdb.master' origin OpenLDAP:
  8b6c425 2015-01-12 More cleanup for fdatasync hack
  ea89e3d 2015-01-11 Tweak conditionals for fdatasync hack
  462dc09 2015-01-08 fdatasync hack, again
  e86072a 2015-01-08 Revert "Note MDB_SAFE_FDATASYNC"
  293d6bb 2015-01-08 Note MDB_SAFE_FDATASYNC
  9585c01 2015-01-08 Simpler fdatasync hack
  0ef1e0b 2015-01-08 Revert "Fix prev commit for env_sync0"

Imported early while forking ReOpenLDAP:
  985bbbb 2014-12-21 Fix prev commit for env_sync0
  0018eeb 2014-12-18 Hack for potential ext3/ext4 corruption issue

Change-Id: I187fd320620b9ced2e3773cac96f281ff65f97d4
2015-01-16 00:24:31 +03:00
Leo Yuriev
8431fb6372 OpenLDAP mdb.RE/0.9 at fe8b13f2251d49689b05876b86b3e10bb89993cd (2015-01-01). 2015-01-07 17:55:19 +03:00