Commit Graph

131 Commits

Author SHA1 Message Date
Pierangelo Masarati
c73520ec08 fix idl lru deletion of last entry (ITS#5121) 2007-09-04 19:01:55 +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
e48f72c1b5 Unify use of BDB lockers 2007-01-04 08:36:59 +00:00
Howard Chu
5cfd2f6d97 Use Clock algorithm for IDL cache too 2007-01-03 19:00:07 +00:00
Kurt Zeilenga
da6d9eb046 happy new year 2007-01-02 20:00:42 +00:00
Howard Chu
d921fcb0c9 ITS#4531 temporarily go back to using quick sort instead of radix sort 2006-05-11 20:05:53 +00:00
Howard Chu
0af1940f3f plug leaks 2006-03-31 12:20:04 +00:00
Kurt Zeilenga
acbb5cf689 Happy new year! 2006-01-03 23:11:52 +00:00
Howard Chu
2bb6555726 ITS#4250 bdb_idl_delete needs to check for Range 2005-12-07 01:54:50 +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
3429c5a566 ITS#4186 hdb_idl_append() must not alter the tmp input. 2005-11-20 22:02:41 +00:00
Howard Chu
052a4ae6c4 More hdb optimizing - cache subtree IDLs, not just onelevels 2005-09-26 07:30:36 +00:00
Howard Chu
3a9814e725 Fix prev commit, BIG_ENDIAN was broken 2005-09-16 01:56: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
13154b25e3 Fix SWAP macro 2005-09-15 13:54:26 +00:00
Howard Chu
4a7f5e33bd More optimizing - try harder to avoid sorting 2005-09-15 08:29:58 +00:00
Howard Chu
20223a9ca5 Fix ISTACK space 2005-09-15 03:59:11 +00:00
Howard Chu
d269703322 Yet another idl_merge fix (test032 failure) 2005-09-15 03:49:52 +00:00
Howard Chu
6411c57028 Fix prev commit, use BDB_IDL_LAST() 2005-09-15 03:19:26 +00:00
Howard Chu
aa3297aa36 More back-hdb search optimization 2005-09-13 07:55:01 +00:00
Howard Chu
9df4ae7d6b Fix prev commit 2005-09-12 05:52:55 +00:00
Howard Chu
ab2b541988 Tweak stack size in prev commit 2005-09-12 03:56:21 +00:00
Howard Chu
2dd87ed9e6 Use quicksort instead of heapsort for hdb_idl_sort 2005-09-12 03:54:52 +00:00
Hallvard Furuseth
d6cc947561 Silence "unused <something>" warnings 2005-07-14 19:52:08 +00:00
Howard Chu
117b686da4 ITS#3765 don't allocate cache for empty IDLs 2005-06-11 19:12:49 +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
df3d8f3e30 Cleanup unused variables 2005-02-20 04:59:29 +00:00
Howard Chu
caeae75662 bdb_show_key is for hash keys, not IDs 2005-02-20 04:32:54 +00:00
Howard Chu
f2d423e084 ITS#3527 fix race in bdb_idl_cache_get 2005-02-01 05:37:09 +00:00
Howard Chu
ad2a19d8eb More for SLAP_TOOL_QUICK, disable locks as well 2005-01-24 08:21:55 +00:00
Howard Chu
ffcfb8b967 Fix typo in prev commit 2005-01-19 07:02:14 +00:00
Howard Chu
3f4243def9 Cleanup prev commit 2005-01-19 06:43:33 +00:00
Howard Chu
577beaf982 Debugging aid for prev commit 2005-01-19 06:30:08 +00:00
Howard Chu
f2a067d997 Don't use DB->del when converting to a range, use the cursor that's
already open.
2005-01-19 06:03:14 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Howard Chu
e472ed00e2 Fix inequality cursor management 2004-12-06 21:25:16 +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
70f375eae0 Fix GE inequality lookups, key was getting overwritten 2004-12-06 07:16:57 +00:00
Howard Chu
dca809ff8d Revert previous commit, it breaks everything. 2004-11-25 07:03:43 +00:00
Howard Chu
e6a12272cc BDB 4.3 compatibility 2004-10-16 22:10:32 +00:00
Howard Chu
84ce549016 define DB_VERSION_FULL to simplify version checks 2004-10-16 21:59:58 +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
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Jong Hyuk Choi
70314bd98b SLAP_IDL_CACHE macro removed 2004-07-09 03:31:52 +00:00
Howard Chu
48ac610097 ITS#3004 fix again 2004-03-06 19:16:20 +00:00
Howard Chu
113870c194 Revert to original code 2004-03-06 19:15:39 +00:00
Howard Chu
ef7195fc31 Store IDs in BigEndian format on disk
bdb_idl_cache_put replaces existing entries instead of ignoring them
2004-03-06 12:41:00 +00:00
Howard Chu
23b2ce8b3a ITS#3004, fix IDL cache AVL comparisons 2004-03-06 12:29:19 +00:00