Quanah Gibson-Mount
1705fa7e55
Happy New Year
2015-02-11 15:36:57 -06:00
Howard Chu
bc3dbcbde9
Minor cleanup (coverity)
2015-01-14 13:27:45 +00:00
Howard Chu
f42c7c6bbc
Revert "ITS#7702 fix results with aliases"
...
This reverts commit cac00c6a97
.
2014-08-28 17:51:46 +01:00
Howard Chu
cac00c6a97
ITS#7702 fix results with aliases
...
Aliases pointing within the original search scope could cause
the same entry to be returned multiple times. Check for subtree
scope and duplicate scopes.
2014-08-26 20:07:40 +01:00
Howard Chu
27f3ef2cfd
ITS#7920 fix for slapacl
...
This needs to be streamlined in 2.5, current tool API is a mess.
2014-08-13 20:49:05 -07:00
Howard Chu
5cab6b77e4
ITS#7798 fix mdb_entry_decode()
2014-02-07 03:02:33 -08:00
Kurt Zeilenga
5c878c1bf2
Happy new year (belated)
2014-01-25 05:21:25 -08:00
Howard Chu
c82dcab9bd
ITS#7720 don't do ptr arithmetic on void *s
2013-10-08 10:40:51 -07:00
Howard Chu
5b2bfec3b4
More for 907b9d4877
...
op.o_extra is only used with threading
2013-08-14 03:51:29 -07:00
Howard Chu
cec27aa517
Fix prev commit
2013-08-12 15:04:51 -07:00
Howard Chu
907b9d4877
Fixes for threaded indexer
...
Works now, but still 2x slower. Leave disabled.
2013-08-12 14:50:54 -07:00
Howard Chu
a3de7c29ae
ITS#7604 fix modrdn, base-scope search
2013-05-24 11:08:25 -07:00
Howard Chu
bc1d4424c5
Define MDB_WRITES_PER_COMMIT, default to 500
...
The former default of 1000 may fail for DBs with many indices.
2013-02-23 19:04:13 -08:00
Howard Chu
9f227f7661
More for dn2id_upgrade
...
handle 0-length suffix
2013-02-10 00:17:51 +00:00
Howard Chu
5c91a27277
Add error checks to prev commit
2013-02-09 19:50:08 +00:00
Howard Chu
2bbee4bb23
Add mdb_dn2id_upgrade
...
Check if upgrade is needed in mdb_db_open()
Run from tool_reindex. Upgrade must not be interrupted.
2013-02-09 19:38:42 +00:00
Howard Chu
33c98df18e
More explicit logging if mdb_txn_commit fails
...
Change LDAP_DEBUG_TRACE to LDAP_DEBUG_ANY.
Add log msg if it wasn't being logged before.
2013-02-02 05:31:39 -08:00
Howard Chu
ee8a897ff8
ITS#7473 Setup for subtree entry counts
2013-01-26 16:18:58 -08:00
Howard Chu
acec27ec94
ITS#7488 disable threaded indexer for now
...
No time to find the bug at the moment.
There's no performance benefit anyway.
2013-01-09 09:07:29 -08:00
Kurt Zeilenga
0fd1bf30b8
Happy New Year
2013-01-02 10:22:57 -08:00
Howard Chu
e4ec2be93d
Better handling of missing entries
...
Treat zero-length entries properly (as missing entries) in entry_next()
and entry_get_int().
2012-12-28 11:26:26 -08:00
Howard Chu
a2cfb99c52
ITS#7469 fix slapcat
2012-12-10 17:32:44 -08:00
Howard Chu
c0f7090cac
Plug slapindex memleak
2012-12-03 11:39:14 -08:00
Howard Chu
bdef02832e
ITS#7386 close read txn in reindex commit
2012-09-12 13:37:22 -07:00
Howard Chu
54a111907b
More for 38a3317096
...
update mdb_tool_idl_add prototype
2012-09-04 04:44:20 -07:00
Howard Chu
11cf13bf9d
Fix slapadd -q -w double-free
2012-08-17 13:38:47 -07:00
Howard Chu
2265d2bac8
Append tweak: must init mdb->mi_nextid
...
Otherwise duplicate entries aren't detected
2012-07-22 15:44:11 -07:00
Howard Chu
34240dbbbb
ITS#7255 in mdb_tool_entry_modify use the existing global txn
2012-05-02 13:32:06 -07:00
Howard Chu
d0bcaee0f3
ITS#7190 don't crash in slapcat on NULL entry
2012-03-06 22:15:51 -08:00
Howard Chu
c4325af7e0
ITS#7180 fix mdb_entry_get when mdb_entry_next was not called
2012-02-24 15:20:17 -08:00
Howard Chu
164e738878
ITS#7176 fix slapindex -q -t
2012-02-20 17:04:24 -08:00
Howard Chu
d7933e2ea4
ITS#7140 more cleanup on txn abort
2012-01-28 11:52:09 -08:00
Kurt Zeilenga
2bbf9804b9
Happy New Year!
2012-01-01 07:10:53 -08:00
Howard Chu
3b2961fcc2
More debug msg null pointer checks
2011-11-09 15:36:16 -08:00
Howard Chu
c647a06441
More for cursor reuse
2011-10-06 19:15:10 -07:00
Howard Chu
d06301f303
Turn off tool IDL caching
...
Well, just like in back-bdb in 2005, it only slowed things down
on larger LDIFs.
2011-10-04 02:18:09 -07:00
Howard Chu
9725bc475f
Tweak tool IDL cache, use MDB_MULTIPLE
2011-10-03 11:29:04 -07:00
Howard Chu
8a8fb76cca
Use MDB_APPEND mode where possible
2011-10-02 21:29:21 -07:00
Howard Chu
98da203fce
Use IDL caching in tool/quick mode
2011-10-02 19:38:58 -07:00
Howard Chu
c5ee5212fd
Updated for mdb_txn_begin API change.
...
Nested txn stuff which we don't use.
2011-09-21 15:59:08 -07:00
Howard Chu
c0fc7fdbed
Fix prev commit
...
Don't truncate all indices if specific indices were given.
2011-09-18 14:47:41 -07:00
Howard Chu
802a2ad4b2
Fix out-of-order slapadd
2011-09-09 22:29:19 -07:00
Howard Chu
c5beffc94f
Fix bogus error codes
2011-09-09 19:53:56 -07:00
Howard Chu
f72d65b77a
Use tmpmem-based entries
2011-09-08 22:07:04 -07:00
Howard Chu
1e32fcf099
Use AD-indexes
2011-09-05 19:52:06 -07:00
Howard Chu
0ba4206ed9
Import back-mdb
2011-09-01 17:00:26 -07:00