Commit Graph

106 Commits

Author SHA1 Message Date
Leo Yuriev
06de7a5155 mdbx: rename the rest MDBX_xyz. 2017-05-24 02:24:38 +03:00
Leo Yuriev
62ebc59330 mdbx: rework version info (stub for now). 2017-05-24 02:17:10 +03:00
Leo Yuriev
0c9832fc28 ci: add TESTDB into Makefile. 2017-05-23 16:00:49 +03:00
Leo Yuriev
6d7bfeb87a mdbx: add 'pipefail' to makefile's check target. 2017-05-17 20:32:22 +03:00
Leo Yuriev
66d842c23b ci: provide test.log 2017-04-24 21:14:24 +03:00
Leo Yuriev
2e54210e79 mdbx: add mdbx_osal.h with platform-like err codes. 2017-04-24 16:15:01 +03:00
Leo Yuriev
f3e31a74ee test: jitter testcase (squashed major refine). 2017-04-23 19:16:21 +03:00
Leo Yuriev
4fb2bd3a07 mdbx: refine Makefile. 2017-04-11 19:09:32 +03:00
Leo Yuriev
a3644aa6d0 mdbx: new testset (initial, stub).
Initial stub for https://github.com/ReOpen/libmdbx/issues/8
2017-04-10 23:20:22 +03:00
Leo Yuriev
e9ea16a54e mdbx: adds test7 by Klaus Malorny <klaus.malorny@knipp.de> 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
2dc3e1ee5f mdbx: reformat and some cleanup (1/3 for rebirth). 2017-02-21 23:13:03 +03:00
Leo Yuriev
488ee06595 mdbx: adds -ffunction-sections for CFLAGS.
Change-Id: I38e24e9424b75424ff12e57f3906282338a95989
2017-01-08 21:47:26 +03:00
Leo Yuriev
478b7f00d9 mdbx: refine make ci target.
Change-Id: I4b50ded5cf4b03b7a10951e7d7ae2e08fd05d81b
2017-01-07 23:21:53 +03:00
Leonid Yuriev
f42b6a982a mdbx: enable C99. 2017-01-04 20:09:31 +03:00
Leo Yuriev
2500c766b7 mdbx: fix CC and XCFLAGS in 'ci' make-target rules.
Change-Id: I5a658fedd4e5a51c298a0b76e709b1f9cd28a261
2016-08-25 21:09:06 +03:00
Leo Yuriev
8a721f7fef mdbx: fix 'clean' make-target typo.
Change-Id: Ief422bd4ce3fa8800ad0f64702e93391cac5aa94
2016-08-25 21:03:39 +03:00
Leo Yuriev
fed33a943e mdbx: adds Makefile deps from mdbx.c
Fix commit 9407621eba

Change-Id: I16dd4e2d6b3343f0827d7af13a93193ffc22c426
2016-08-23 15:00:58 +03:00
Leo Yuriev
ef30101347 mdbx: make ci-target without NDEBUG and with MDB_DEBUG=2.
Change-Id: I1745ee8beb2a77512d2821248c71ee0ff9653eb7
2016-08-18 17:09:09 +03:00
Leo Yuriev
9407621eba mdbx: allow CC=xyz for ci-target rules.
Change-Id: Ie5ae783ffde8293b1c6b5c1cfe90f98d829d91ae
2016-08-04 10:44:39 +03:00
Leo Yuriev
2c0f99f940 mdbx: refine makefile ci-target.
Change-Id: I48fce22ca32e45edbc519750cca50d361283f53d
2016-06-09 09:00:40 +03:00
Leo Yuriev
0e90ea1d8d mdbx: separate MDBX's features.
Change-Id: I1964ee5d8b8e5fca170b8e955bfc1a6efe25f6c5
2016-06-09 08:54:46 +03:00
Leo Yuriev
0688461bc4 mdbx: CI makefile target for fast checking.
Change-Id: Ie00a3d8d6a44a19a4afe0c369a661a2d3ad60127
2016-06-09 04:19:01 +03:00
Leo Yuriev
4cbbb64e21 mdbx: ban the compilers older than GCC 4.2 or incompatible with it.
Change-Id: I30cfc04b086116652b3c40d76e1def8428b0dcd7
2016-06-06 01:46:21 +03:00
Leo Yuriev
ba943fcff2 mdbx: refine & clarify Makefile.
Change-Id: I4e5b388c65872d4cd413d0ff30f232ed0ad2112d
2016-06-01 01:58:23 +03:00
Leo Yuriev
2eccf4140d mdbx: minor refine makefile (most for 'bench' target).
Change-Id: Ic59fc705e430ba6aa5771bc50d3e2bf62e43ae08
2016-04-27 17:49:41 +03:00
Leo Yuriev
3a8db9fed3 mdbx: -Wextra and fixes.
Change-Id: I9f373e66f8f5f7cf3b29b5246eb2c67e4a49a460
2016-04-19 11:59:36 +03:00
Leo Yuriev
9871e24670 mdbx: refine 'bench' make target.
Change-Id: Ib0594f45ee4b4eedfd18b60483d104913321585e
2016-04-19 11:59:35 +03:00
Leo Yuriev
7d63855793 mdbx: simple ioarena-based benchmark.
https://github.com/pmwkaa/ioarena

Change-Id: I8c0a5a2410e243d49541723afe519dbba12ac68d
2016-03-25 04:56:56 +03:00
Leo Yuriev
e47f52a2f3 mdbx: fix gcc warnings.
Change-Id: Ic9014b947541a4d6c399b0d69dfc495cc98c70a2
2016-03-25 04:56:34 +03:00
Leo Yuriev
340da0fd7a mdbx: yota's test.
2014 (C) Copyright Vladimir Romanov, https://www.facebook.com/vvromanov

Change-Id: Ia4cd6cbdd7b7a25c0b217b968337cfd9af721380
2016-03-13 18:24:47 +03:00
Leo Yuriev
0a8e59c314 mdbx: NDEBUG.
Change-Id: I5c8edcad6fc7a0f3f7e4842f4a92fdb685e2e132
2016-02-09 09:20:59 +03:00
Leo Yuriev
c0c3c1b688 mdbx: force gdb-level3 for debuginfo.
Change-Id: Ie11630f4c56482862d765764e5e0c4c9564a476b
2015-12-16 21:35:43 +03:00
Leo Yuriev
297d9e71ac mdbx: Merge branch 'tsan-cleanup' into devel.
Some work as a part of https://github.com/ReOpen/ReOpenLDAP/issues/62
2015-12-13 19:41:19 +03:00
Leo Yuriev
2d2a3ebcfb mdbx: add missing h-deps into Makefile.
Change-Id: Ia3af98e4194b7bfb43973069a634c4c0fb011d5c
2015-12-13 17:58:23 +03:00
Leo Yuriev
a0d056e47e mdbx: less mad in the Makefile.
Change-Id: Iec6a7546424b1e2954cd3c21805ddf01cc77d93e
2015-12-01 18:45:18 +03:00
Heiko Becker
1739a2f4c1 mdbx: backport - ITS#8169 Allow passing mandir to make install.
The motivation for this change is my distribution moving to a multiarch
layout. While the architecture specific stuff (binaries, libraries,
etc.) is installed under /usr/${host}/{bin,lib,...} architecture-independent
data should still be installed to /usr/share/.

Change-Id: I9bc1e4ba975e8ef7fe945ca3b30f044ac40eedf2
2015-11-25 19:08:48 +03:00
Leo Yuriev
fed7922b30 mdbx: link tools librt.so with --no-as-needed.
Change-Id: I9c5096320b264aa14f1905d15e9bd495087d1bb9
2015-11-14 13:42:44 +03:00
Leo Yuriev
b430c9a22f mdbx: Add MDB_USE_ROBUST to control Robust Mutexes.
Backported from origin.

Change-Id: I416c1d09fb1f290423f29a84831accdaf4436ab0
2015-11-06 17:26:41 +03:00
Leo Yuriev
0f82e6e5fd mdbx: Makefile split 'check' and 'tests' targets. 2015-10-21 00:04:35 +03:00
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