Commit Graph

111 Commits

Author SHA1 Message Date
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
Jong Hyuk Choi
70314bd98b SLAP_IDL_CACHE macro removed 2004-07-09 03:31:52 +00:00
Kurt Zeilenga
87c28866de cleanup 2004-06-16 23:49:35 +00:00
Howard Chu
d57b404889 back-hdb fixes for ITS#3063 2004-06-12 12:27:22 +00:00
Howard Chu
113870c194 Revert to original code 2004-03-06 19:15:39 +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
a3c1b64a73 Initial subordinate implementation (for chaining) 2003-12-30 03:53:03 +00:00
Kurt Zeilenga
9d811eb1fa Notices 2003-11-28 21:08:20 +00:00
Howard Chu
8c9f033aa5 Fix prev commit setting NO_GRANDKIDS incorrectly 2003-10-08 06:05:48 +00:00
Howard Chu
040a9cf64c Fix HDB's use of IDL cache 2003-10-03 02:19:09 +00:00
Howard Chu
dcd777b0b8 Fix hdb cursor leak. 2003-09-27 05:17:08 +00:00
Howard Chu
d7771374e2 Fix alignment issues in hdb_dn2idl_internal 2003-09-23 10:55:57 +00:00
Howard Chu
99d2b7e7e9 Fix back-hdb test006 failures due to bad return code in hdb_dn2idl 2003-09-23 08:16:23 +00:00
Howard Chu
5fb7ea2294 Cleanup prev commit 2003-09-22 10:11:10 +00:00
Howard Chu
0342904699 back-hdb caching updates, use EntryInfo cache for hdb_dn2idl. 2003-09-22 08:37:32 +00:00
Howard Chu
299983eb74 Another BDB_HIER e_name / e_nname fix 2003-06-12 11:14:50 +00:00
Howard Chu
4a3748b6cf Restructured to avoid direct use of sl_malloc functions. Minimizes impact
of #ifdef USE_SL_MALLOC...
2003-05-25 00:53:08 +00:00
Howard Chu
c40115c12e Don't use single malloc for BDB_HIER e->e_name + e->e_nname 2003-05-24 01:54:03 +00:00
Howard Chu
505838469d Don't re-cache IDL's retrieved from the cache 2003-05-23 01:23:53 +00:00
Howard Chu
759996c6e9 Fix HDB search_aliases crash, cleanup search scope processing: call dn2idl
directly instead of going thru filter_candidates. Use hdb_ function prefix
in dn2id.c to avoid ambiguities...
2003-05-01 11:59:08 +00:00
Howard Chu
35d18d4ab0 Use DB_RMW when deleting dn2id elements 2003-04-30 07:46:58 +00:00
Howard Chu
2b6f4ff7d0 Fix byte-ordering in bdb_dup_compare 2003-04-23 11:52:22 +00:00
Howard Chu
184f647b25 Change RDN compare funcs, we don't need lexical ordering 2003-04-23 10:26:06 +00:00
Howard Chu
02217c9183 Subtree rename support for the cache 2003-04-23 08:46:23 +00:00
Howard Chu
6f461690c1 Function renaming, make internal funcs static, etc. 2003-04-23 06:34:55 +00:00
Howard Chu
c7d3d42304 Omit bei_rdn field from EntryInfo 2003-04-22 18:59:37 +00:00
Howard Chu
7c39a5e726 filter_candidate tweaks, search_stack tweaks 2003-04-22 18:22:51 +00:00
Howard Chu
68822b1e15 Trim dead BDB_HIER stuff 2003-04-22 17:06:35 +00:00
Howard Chu
89127c93d0 Mem context tweaks for bdb_dn2idl 2003-04-22 06:29:13 +00:00
Howard Chu
ee1cddf6fd Fix typo in prev commit 2003-04-22 05:15:50 +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
Howard Chu
f0577fcb08 Pass parent EntryInfo instead of parent DN to dn2id_add/delete.
Add bdb_cache_children, remove cache flag manipulation from dn2id_children
2003-04-22 04:06:09 +00:00
Howard Chu
d290145776 memory context tweaks 2003-04-21 18:28:38 +00:00
Howard Chu
2048c05a82 Added CACHE_ENTRY_NO_KIDS flag to bei_state to shortcut dn2id_children. 2003-04-17 00:52:31 +00:00
Howard Chu
377bccbc6c Hierarchical cache management. 2003-04-16 16:23:36 +00:00
Howard Chu
945c9fb1c7 Tweak previous commit 2003-01-31 19:44:52 +00:00
Howard Chu
f838a4bb53 Fix subtree and matched search in back-hdb 2003-01-31 19:43:14 +00:00
Howard Chu
23c575805a Disallow multiple suffixes by default. Otherwise subtree index optimization
breaks. #define BDB_MULTIPLE_SUFFIXES if you want multiple suffix support.
If you use it, subtree indexing will slow down by factor of 2.
2003-01-30 22:00:16 +00:00
Kurt Zeilenga
6939c53170 Happy new year 2003-01-03 20:20:47 +00:00