Commit Graph

106 Commits

Author SHA1 Message Date
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
Howard Chu
efd23f5c0c Fix prev commit 2004-03-05 19:29:02 +00:00
Howard Chu
9b16d161d5 Take advantage of IDL cache in bdb_idl_insert/delete_key 2004-03-05 15:41:30 +00:00
Howard Chu
896beebadc unifdef SLAP_IDL_CACHE 2004-03-05 13:43:18 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Kurt Zeilenga
9d811eb1fa Notices 2003-11-28 21:08:20 +00:00
Howard Chu
6f461690c1 Function renaming, make internal funcs static, etc. 2003-04-23 06:34:55 +00:00
Howard Chu
0afba16b9b Fix id2entry, let bdb_cache_release_all clean up EntryInfos
Fix idl_cache_put
2003-04-22 13:14:06 +00:00
Howard Chu
bd871d710d Moved IDL cache code to standalone functions.
Use IDL cache in bdb_dn2id_children.
2003-04-22 05:14:27 +00:00
Jong Hyuk Choi
2dbcd890b8 Caching non-existing index entries in the IDL cache - caching keys only 2003-04-18 00:35:11 +00:00
Jong Hyuk Choi
420210a2a3 IDL cache locking change (mutex -> rwlock) 2003-04-08 06:57:07 +00:00
Howard Chu
3814b5f1a1 Range check cleanup, added alias processing comments 2003-04-05 09:46:54 +00:00
Howard Chu
48a9cf3416 Added code for BDB_ALIASES. Please test. 2003-04-05 06:35:16 +00:00
Howard Chu
a2a5ef48be ITS#2368 - fix deleting key from range IDL 2003-03-12 21:18:39 +00:00
Jong Hyuk Choi
c1da85eba0 Error checking code for ITS#2367 2003-03-12 16:37:04 +00:00
Kurt Zeilenga
1862077b24 Use DB_VERSION_ to set BDB_ENOUGH 2003-02-08 07:38:22 +00:00
Kurt Zeilenga
d1287dd341 Reword BDB 4.0 bug comment now that configure requires BDB 4.1 2003-02-08 01:34:27 +00:00
Kurt Zeilenga
cca15d41c9 minor code cleanup 2003-02-08 00:57:21 +00:00
Kurt Zeilenga
6939c53170 Happy new year 2003-01-03 20:20:47 +00:00
Hallvard Furuseth
2bcb48361d Remove casts of AVL function pointers. 2002-12-14 22:25:52 +00:00
Howard Chu
e39f9848ac Fix previous commit, check for dup in avl_insert 2002-12-10 20:56:08 +00:00
Howard Chu
349e05ff4d Added config keyword "searchstack" for setting search stack cache depth.
Default is still 16.

Added IDL caching, modified from ITS#2182. Uses "idlcachesize" config
keyword. Code is #ifdef'd, currently defined, with default cache of 0.
2002-12-10 20:33:49 +00:00
Pierangelo Masarati
498d1f043d silence warnings; fix messages 2002-11-10 20:00:44 +00:00
Howard Chu
3e61f0630d Fix ITS#2082, bdb_idl_intersection 2002-09-13 20:19:56 +00:00
Howard Chu
35e8b8325d Unifdef BDB_IDL_MULTI. 2002-09-10 04:20:45 +00:00
Howard Chu
0614b5fdbf Fix unindent commit 2002-08-30 11:48:47 +00:00