Howard Chu
9de70e9582
Resync
2011-08-31 17:06:40 -07:00
Howard Chu
cb24acddf0
Resync with updated libmdb api
2011-08-31 05:14:43 -07:00
Howard Chu
8ca32bcb91
For test063
...
add hex timestamp to lutil_debug() output
Fix LASTMOD race condition in accesslog.c
Set refreshInterval even if using refreshAndPersist, since
fallbacks will use refresh params
2011-08-30 19:14:56 -07:00
Howard Chu
eac6ff6027
Add libmdb to include path for back-mdb
2011-08-30 15:30:08 -07:00
Howard Chu
b444ce47ce
Add some missing items
...
maxreaders setting to configure the reader lock table
implement the online indexer task, update manpage
2011-08-30 00:52:04 -07:00
Howard Chu
df0935319a
Resync
2011-08-29 20:31:15 -07:00
Howard Chu
ecb1be7d1a
Resync
2011-08-29 20:16:36 -07:00
Howard Chu
d22ecba300
Resync
2011-08-29 20:04:11 -07:00
Howard Chu
4d998251d5
Plug memleaks
2011-08-29 19:38:41 -07:00
Howard Chu
c47136a1f4
Avoid extraneous txn_renew
2011-08-29 04:24:21 -07:00
Howard Chu
0fcc88809f
Merge remote branch 'hbf/mdb.hbf' into mdb
2011-08-28 04:19:58 -07:00
Howard Chu
de5b605fef
Resync
2011-08-28 04:06:03 -07:00
Howard Chu
762c9e432f
bump mdb maxsize up to 32M to pass test060
...
Note in slapd-mdb(5) that setting a huge size is desirable.
2011-08-28 04:05:28 -07:00
Hallvard Furuseth
8d78d1e8a0
Fixup maindb/indexdb
2011-08-28 13:00:57 +02:00
Hallvard Furuseth
cc2b67329a
tests/data/: #bdb/hdb|mdb# -> #maindb/indexdb#.
...
Done for keywords index,limits. (Also do 'mode' if there were any cases.)
Change generated by: perl -i -pw0777e '
INIT { $q=qr/\#(?:[bhm]|index|main)db\#/im; $k=qr/(?:index|limits|mode)\b/ }
0 while s/^$q($k.*\n)((?:$q.*\n)*?)\n?$q\1/\#maindb\#$1$2/imo;
s/^\#maindb\#index/\#indexdb\#index/igm;
' tests/data/* tests/data/regressions/*/*
2011-08-28 11:21:18 +02:00
Hallvard Furuseth
97873d8808
tests: Add $MAINDB, $INDEXDB for [bhmn]db tests.
...
Simplifies tests for the DB storage backends.
Adds indexing etc to mdb/ndb in some cases to match bdb/hdb.
This also fixes some broken back-null/back-ldif settings.
2011-08-28 10:45:50 +02:00
Howard Chu
fd0480e9af
Fix IDL off-by-one
2011-08-28 00:51:42 -07:00
Howard Chu
c6c39efd76
Sync libmdb
2011-08-27 18:22:02 -07:00
Howard Chu
54490a955e
Resync libmdb
2011-08-27 18:11:41 -07:00
Howard Chu
233027c3bb
Sync libmdb
2011-08-27 17:34:58 -07:00
Howard Chu
738f31a83a
Support zero-length entries
2011-08-27 14:47:20 -07:00
Howard Chu
b72b573899
Relax entry_header, zero-length entries are valid.
2011-08-27 14:47:20 -07:00
Hallvard Furuseth
06eeff7c13
Add MDB support to configure and test framework.
...
Does not update the tests themselves.
In configure --help, call it "mdb database backend" instead of something
with "memory-mapped" which could confuse somebody about a memory-only DB.
2011-08-27 16:31:18 +02:00
Hallvard Furuseth
fe58e81f5a
.gitignore += back-mdb symlinks (into libmdb)
2011-08-27 16:31:18 +02:00
Hallvard Furuseth
bd6877f78f
libmdb in .gitmodules: Use git://, not https://.
...
Matches preferred scheme in <http://www.openldap.org/software/repo.html >.
2011-08-27 16:31:18 +02:00
Howard Chu
82c782d172
Partial fix for test034, other issues still left.
2011-08-27 03:56:19 -07:00
Howard Chu
44c291226d
Plug memleak
2011-08-26 18:34:00 -07:00
Howard Chu
bd5c7b74fe
Fix referral handling
2011-08-26 18:01:28 -07:00
Howard Chu
07d2443ad0
Add mdb to test025-limits
2011-08-26 17:19:54 -07:00
Howard Chu
09a6591f23
Fix for empty suffix
2011-08-26 16:15:01 -07:00
Howard Chu
4c17931f68
sync
2011-08-26 14:32:55 -07:00
Howard Chu
8dbac9ef0c
Add mdb stuff
2011-08-26 14:32:40 -07:00
Howard Chu
3fe973fd0c
Fix moduleload path
2011-08-26 14:31:35 -07:00
Howard Chu
c71cbfb659
Plug memleak
2011-08-26 13:29:20 -07:00
Howard Chu
74265d98ca
Fix parent check
2011-08-26 13:29:11 -07:00
Howard Chu
f968d88874
Fix typo
2011-08-26 13:09:55 -07:00
Howard Chu
8032189f8f
Fix search referral on base
2011-08-26 13:07:00 -07:00
Howard Chu
c104c30057
Minor fixes
2011-08-26 12:02:20 -07:00
Howard Chu
4e4f5fa642
Fix typo
2011-08-26 03:34:50 -07:00
Howard Chu
5d60046801
fix opinfo
2011-08-26 01:27:32 -07:00
Howard Chu
8a6b9ea1a3
Fix mdb_entry_get
2011-08-26 01:24:23 -07:00
Howard Chu
06d590fffe
mdb manpage
2011-08-26 00:31:57 -07:00
Howard Chu
79805989de
Minor fixes. Passes test008.
2011-08-26 00:13:42 -07:00
Howard Chu
eae1a9bac5
Fix for dn2entry NULL result
2011-08-25 03:04:00 -07:00
Howard Chu
a909f77bff
Fix dn2id_delete
2011-08-25 03:00:04 -07:00
Howard Chu
c058ab1f14
Re-sync
2011-08-24 22:19:49 -07:00
Howard Chu
1c967b9d12
Tweak opinfo release
2011-08-24 22:19:05 -07:00
Howard Chu
da7b9e2ea5
Need both norm and non-norm match from dn2id
2011-08-24 17:48:23 -07:00
Howard Chu
9c671db81b
Fix typos
2011-08-24 17:01:26 -07:00
Howard Chu
b925b35045
Plug memleak
2011-08-24 06:36:21 -07:00