Kurt Zeilenga
4af9eb9715
Update copyright notices
2009-01-22 00:40:04 +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
cdaf0769f7
ITS#4112 temporarily disable broken code
2008-01-06 07:34:19 +00:00
Howard Chu
89b03a7db7
Shrink presence key
2007-12-01 19:08:30 +00:00
Howard Chu
02f29d51c6
ITS#5183 preliminary fix - this whole approach needs re-design
2007-11-18 20:50:20 +00:00
Howard Chu
d7535d4ddc
ITS#5189 revert index.c 1.67, just catch LDAP_OTHER
2007-10-23 00:25:51 +00:00
Howard Chu
bb1d8dfcd7
Fix prev commit, include errno.h
2007-10-23 00:05:03 +00:00
Howard Chu
9965fc5f60
ITS#5189 recognize ENOMEM
2007-10-23 00:03:56 +00:00
Pierangelo Masarati
b713eb5102
add monitor support for unindexed attributes (need to manually #define BDB_MONITOR_IDX)
2007-08-07 22:36:04 +00:00
Howard Chu
fb5568bd45
ITS#5052 fix Quick mode erroneously indexing ID#0
2007-07-20 14:42:31 +00:00
Howard Chu
1f853acfc9
Shortcut when no index info is present
2007-01-15 01:27:02 +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
9edea08357
Fix uninit'd rc
2005-10-30 07:42:08 +00:00
Howard Chu
f94968fb5b
Multi-threaded slapindex
2005-10-27 10:34:33 +00:00
Howard Chu
08cc40317b
Fix notags/nosubtypes handling
2005-10-26 06:36:34 +00:00
Hallvard Furuseth
81ecb0b153
assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL).
2005-07-18 06:22:33 +00:00
Hallvard Furuseth
d6cc947561
Silence "unused <something>" warnings
2005-07-14 19:52:08 +00:00
Howard Chu
3801ba6435
ITS#3731 catch another BDB error leaking out to the frontend
2005-05-18 04:41:24 +00:00
Howard Chu
8b6d9467ea
Fix prev commit for component indexer op
2005-04-21 19:54:54 +00:00
Howard Chu
5de908e7e1
Dynamic indexing support
2005-04-21 19:04:31 +00:00
Howard Chu
5ef9978afe
ITS#3616 don't index the dummy context entry
2005-04-13 19:05:56 +00:00
Howard Chu
df3d8f3e30
Cleanup unused variables
2005-02-20 04:59:29 +00:00
Howard Chu
fc337704c5
Fix redundant index lookups from component matching
2005-01-24 12:25:37 +00:00
Howard Chu
bd498d2996
Fix undetected deadlock
2005-01-11 22:08:06 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Sang Seok Lim
28a967584d
Component Indexing support for BDB
...
- only for equality matching
- only components of ASN.1 types used in an X.509 certificate can be indexed
(composite types except for RDN and DN are not supported yet)
- how to use
index [attribute name].[component reference] eq
Ex)
index userCertificate eq
index userCertificate.toBeSigned.issuer.rdnSequence eq
index userCertificate.toBeSigned.serialNumber eq
index userCertificate.toBeSigned.version eq
2004-12-20 03:31:44 +00:00
Kurt Zeilenga
d611a4b49a
unifdef -UNEW_LOGGING
2004-09-04 04:54:28 +00:00
Kurt Zeilenga
071b9466c4
Fix approx matching when there is an equality index but no approx index.
...
Add better approx test
2004-04-09 21:30:55 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Howard Chu
864aea13f7
ITS#2864 removed sl_mark/sl_release code
2003-12-07 04:00:47 +00:00
Kurt Zeilenga
9d811eb1fa
Notices
2003-11-28 21:08:20 +00:00
Howard Chu
76dd6bb6da
Revert to previous behavior:
...
always use DB_AUTO_COMMIT when opening a database, don't make it
dependent on an in-progress transaction
use mutex instead of DB lock for db access.
2003-09-25 00:27:22 +00:00
Howard Chu
fddbe13c6e
Revert broken index optimizations
2003-09-21 10:11:46 +00:00
Howard Chu
0c8a4b1756
More fixes for modify - don't delete index keys that are still being used
...
by other values of the attribute.
Also, filter out duplicate keys to avoid redundant DB operations.
Key collisions due to separate attributes indexed by supertype are still
not safe. Yuck.
2003-06-13 06:09:45 +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
755f785432
Memory context fixes
2003-04-13 16:15:52 +00:00
Howard Chu
af6804905f
Eliminate unnecessary calls to slap_bv2ad
2003-04-12 12:19:57 +00:00
Howard Chu
ece7452b05
More memory context tweaks
2003-04-11 01:29:28 +00:00
Kurt Zeilenga
c75be97ae9
#ifdef -DSLAP_NVALUES
2003-04-05 03:35:16 +00:00
Howard Chu
e8c58b4e7f
Major API change - (SLAP_OP_BLOCKS) All request parameters are
...
consolidated into the Operation structure. All reply parameters
are consolidated into the new SlapReply structure. Most operations
now have identical call signatures... Changes are not #ifdef'd,
revert to -r NO_SLAP_OP_BLOCKS if necessary to back out.
2003-03-30 09:03:54 +00:00
Howard Chu
b672620eb8
Simplify indexer - remove redundant dbname parameter
2003-03-25 18:17:34 +00:00
Howard Chu
5ad51b6150
SLAP_NVALUES tweaks - after input, a_nvals is always populated. If there is
...
no normalizer, a_nvals = a_vals.
2003-03-24 01:56:56 +00:00
Howard Chu
a0c58e5f40
Don't use DB_AUTO_COMMIT when opening a database
2003-03-18 00:04:16 +00:00
Kurt Zeilenga
47b18c9a51
SLAP_NVALUES: index normalized values
2003-03-01 05:17:44 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Hallvard Furuseth
486eaa69b6
Rename "lang(uage)" to "tag(s)". (Cleanup after attribute options patch.)
2002-12-13 19:15:20 +00:00
Howard Chu
f7859e9913
ITS#2015 give correct index key back to presence_candidates
2002-08-08 17:27:50 +00:00
Julius Enarusai
6107ba67d2
Coverted LDAP_LOG macro to use subsystem ID int values instead of string values
2002-07-11 20:33:24 +00:00