Commit Graph

160 Commits

Author SHA1 Message Date
Howard Chu
16710f4ed4 Fix dn2idl when suffix = "" 2008-10-07 22:52:59 +00:00
Howard Chu
95d472aa98 ITS#5729 check for NULL bei_parent 2008-10-07 22:16:15 +00:00
Pierangelo Masarati
dc414747a7 silence warnings 2008-09-16 14:44:24 +00:00
Howard Chu
ece2a4daa6 Use read-only txn's instead of read lockers. Support BDB 4.4-4.7 2008-08-27 01:45:35 +00:00
Howard Chu
4c8efee4a6 Fix bei_state access
http://www.openldap.org/lists/openldap-devel/200805/msg00073.html
2008-05-19 16:19:59 +00:00
Pierangelo Masarati
d22b8532ee s/leave/func_leave/ to avoid OSF1 name clashing (ITS#5411) 2008-03-12 22:45:18 +00:00
Hallvard Furuseth
5f068303d3 Remove unused variables 2008-01-08 16:37:13 +00:00
Kurt Zeilenga
c890c96d13 Happy New Year (belated) 2008-01-08 00:19:56 +00:00
Howard Chu
23116be5ae More for -q tool mode 2007-12-13 08:02:40 +00:00
Howard Chu
f7ec966aad Cleanup dup_compare 2007-12-06 16:54:47 +00:00
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