Commit Graph

150 Commits

Author SHA1 Message Date
Howard Chu
3658226e95 Drop unnecessary lock 2007-12-06 15:59:28 +00:00
Howard Chu
e237f4cc43 Re-introduce hdb dup_compare function, default compares too much 2007-12-06 15:58:47 +00:00
Howard Chu
f06fdb2821 More cleanup, hdb fixes 2007-12-06 14:16:34 +00:00
Howard Chu
cb0e31fc65 ITS#5262 must protect dn2id between the time it's read from the DB
and it's inserted into EntryInfo cache.
2007-12-06 05:48:02 +00:00
Howard Chu
460e94c001 ITS#5262 additional cleanup 2007-12-05 14:56:47 +00:00
Howard Chu
6ac8a0c584 ITS#5262 use explicit cursor and locker in dn2id 2007-12-05 14:09:34 +00:00
Howard Chu
4c7d288eb7 More for BDB 4.6 compatibility 2007-08-17 20:33:46 +00:00
Howard Chu
b514b25795 Quick and dirty BDB 4.6.18 support. Expect this to change again soon. 2007-07-24 14:02:37 +00:00
Howard Chu
2d3c48ccd5 ITS#4838 fix fake root handling broken by prev commit 2007-02-09 17:23:00 +00:00
Howard Chu
0c25783cee use dn2id index for extended filters using entryDN 2007-02-08 06:43:28 +00:00
Howard Chu
57fa57b1d1 Fix HDB - don't use IDL cache when it's not configured 2007-01-04 10:56:18 +00:00
Howard Chu
e48f72c1b5 Unify use of BDB lockers 2007-01-04 08:36:59 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Howard Chu
dd3d53fd85 Fix ITS#4263 2005-12-15 22:52:31 +00:00
Howard Chu
a0d9bd7890 ITS#4223 don't store negative results in IDL cache 2005-11-28 22:53:03 +00:00
Howard Chu
2b9c8076cc In hdb_dn2idl_internal, skip cursor get when dkids == 1 2005-11-20 22:32:39 +00:00
Howard Chu
948e19e132 ITS#4132 reset CACHE_ENTRY_ONELEVEL when complete. Fell out from a bad merge. 2005-11-01 15:52:44 +00:00
Howard Chu
8f7da062f5 ITS#4088 force cursors to use same locker 2005-10-18 20:52:04 +00:00
Howard Chu
a0db9c1341 Fix dn2id_add/del parent cache updates 2005-09-27 14:11:10 +00:00
Howard Chu
052a4ae6c4 More hdb optimizing - cache subtree IDLs, not just onelevels 2005-09-26 07:30:36 +00:00
Howard Chu
aa0cc7b835 More hdb tweaks, add radix sort code from mbackes@symas.com 2005-09-16 01:25:40 +00:00
Howard Chu
4a7f5e33bd More optimizing - try harder to avoid sorting 2005-09-15 08:29:58 +00:00
Howard Chu
9b641006cb ITS#4029 Fix misplaced lines in prev commit 2005-09-15 01:22:22 +00:00
Howard Chu
aa3297aa36 More back-hdb search optimization 2005-09-13 07:55:01 +00:00
Hallvard Furuseth
80275d382b Remove warning that HDB code is experimental and unsupported 2005-07-30 23:42:41 +00:00
Hallvard Furuseth
e1742d1cb4 Change diskNode.(n)rdn from unsigned char to char, matching their usage. 2005-07-30 23:39:44 +00:00
Luke Howard
c09550766b Fix another crasher if parent is NULL 2005-07-19 01:37:48 +00:00
Luke Howard
da758bb150 Fix crasher in hdb_dn2id() when parent is NULL 2005-07-19 01:32:29 +00:00
Hallvard Furuseth
d6cc947561 Silence "unused <something>" warnings 2005-07-14 19:52:08 +00:00
Hallvard Furuseth
cc0d91716e Don't do pointer arithmetic on void* 2005-07-04 05:18:01 +00:00
Howard Chu
4667a44ae6 Fix typo in prev commit 2005-06-13 23:57:30 +00:00
Howard Chu
a4d2c63a61 ITS#3773 additional fix 2005-06-13 21:25:51 +00:00
Howard Chu
6cacc7fb5d ITS#3773 fix RDN comparison 2005-06-13 21:21:27 +00:00
Howard Chu
080586f482 ITS#3688 don't sort range IDLs! 2005-04-27 17:29:30 +00:00
Howard Chu
d9ab73837a ITS#3647 back-hdb fixes, create unsorted subtree IDLs and sort later. 2005-04-13 11:55:25 +00:00
Howard Chu
b0627689e8 ITS#3647 fix hdb dn2idl SEGV 2005-04-11 04:00:08 +00:00
Howard Chu
90d9791047 ITS#3616 use fake context entry if suffix is empty. 2005-04-09 10:01:13 +00:00
Howard Chu
d9df909ba4 ITS#3638 Init ids to zero in bdb_dn2idl 2005-04-09 07:45:14 +00:00
Howard Chu
2b725a3dfe ITS#3559 fix hdb dn2idl idl_cache usage 2005-02-21 11:11:00 +00:00
Howard Chu
ad2a19d8eb More for SLAP_TOOL_QUICK, disable locks as well 2005-01-24 08:21:55 +00:00
Howard Chu
89da582d69 Byte-order independence for HDB: dn2id format changed again. 2005-01-11 22:25:52 +00:00
Howard Chu
98212b7e08 Start removing custom sort functions from hdb 2005-01-11 19:47:05 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Howard Chu
72490da301 Fix ITS#3424 2004-12-08 20:55:35 +00:00
Howard Chu
89912db91e Store entryIDs in big-endian order, no more custom sort function.
back-hdb still needs work.
2004-12-06 07:28:47 +00:00
Howard Chu
62b6b32633 Add SLAP_MR_ORDERED_INDEX - support for inequality indexing. Currently
only implemented for generalizedTime syntax.
2004-09-28 13:11:11 +00:00
Pierangelo Masarati
431acda61b trying to make names consistent 2004-09-04 10:23:40 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Howard Chu
26b4758938 Make sure hdb gets signed chars for len comparison 2004-07-18 12:29:52 +00:00