Howard Chu
ac1332cdb8
Renamed BVarray to BerVarray. Moved slapd:bvarray_{add,free} to
...
liblber:ber_bvarray_{add,free}.
2002-01-14 01:43:17 +00:00
Howard Chu
92481f7057
Modify performance patch from Gertjan van Wingerde <gwingerde@home.nl>
2002-01-13 23:23:23 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Howard Chu
f52cc9bab5
Change struct berval ** to BVarray
2002-01-02 11:00:36 +00:00
Howard Chu
dd59babf43
More cleanup
2001-12-29 10:25:19 +00:00
Howard Chu
ef31250591
More struct berval fixes
2001-12-27 01:38:15 +00:00
Kurt Zeilenga
b503ca65ee
Misc cleanup
2001-12-27 00:31:55 +00:00
Kurt Zeilenga
b144879650
Quick struct berval DN support for defer alias API.
...
Underlying code needs work.
2001-12-27 00:26:59 +00:00
Howard Chu
66dc664930
Some more (incomplete) struct berval conversion
2001-12-26 23:26:17 +00:00
Howard Chu
68b1bbb89d
Changed search attrs to struct berval **.
...
Use typedefs for all backend functions, to minimize work in future API
updates. (back-*/external.h will never need updating in the future.)
2001-12-26 08:17:44 +00:00
Kurt Zeilenga
f6085d3f82
Every quick mod to use a struct berval for e_dn/e_ndn. No bv_len yet.
2001-12-24 16:53:47 +00:00
Howard Chu
a06bc9007c
Switched to dn_parent1, cleaned up dn2id_add/delete
2001-12-08 10:10:04 +00:00
Howard Chu
859e283834
Experimental index management. Uncomment BDB_IDL_MULTI in back-bdb.h
...
to activate. Needs to check limits in bdb_idl_insert_key, will get to
that later.
2001-12-06 13:20:18 +00:00
Howard Chu
6e0861b671
Minor rearrangement, give pdn to dn2id_add to avoid getting it twice.
2001-12-06 03:26:37 +00:00
Howard Chu
0a25cddcf3
Fix segv in slapcat. Tool must use be_entry_return to free entries
...
returned from the backend.
2001-11-27 09:34:53 +00:00
Howard Chu
763faf21b1
Some tweaks to cut down on IDL stack usage. idl_intersection and idl_union
...
now take only two arguments instead of 3, overwriting the result onto the
first argument. (glibc2.0.7 defaults to a 2MB stack per thread; 3 IDLs at
1.5MB plus various other runtime overhead is enough to trash the stack.)
Also pass in a tmp IDL from search_candidates instead of allocating it in
each candiate function.
2001-11-26 19:32:39 +00:00
Howard Chu
ad5e8c9e16
Removed unused "range" argument from indexing functions. Fixed more
...
bugs in indexing. Uncommented #define to turn on indexing in back-bdb.h.
It looks like it's working.
2001-11-24 03:46:02 +00:00
Howard Chu
a3ded4782e
Changed AttributeType.sat_cname from char * to struct berval.
...
Forced SLAP_USE_AD code, removed ifdefs of old code. filterindex.c is
still badly broken when BDB_FILTER_INDICES is defined, working on that...
2001-11-16 08:18:58 +00:00
Howard Chu
0b037b5566
Added bdb_attribute and bdb_group ACL support routines
2001-11-12 20:52:25 +00:00
Kurt Zeilenga
d6730e5f50
BDB updates... haven't had a chance to work on this for a while,
...
committin what I have so that someone else might be able to work it.
2001-10-13 16:55:54 +00:00
Kurt Zeilenga
9f1fc48659
Another round. BDB_INDEX almost ready for functional testing.
2001-10-05 17:00:21 +00:00
Kurt Zeilenga
96e0038832
Initial idl fetch code, undef BDB_INDEX for now, other cleanup
2001-10-05 01:19:58 +00:00
Kurt Zeilenga
5160da05e5
Add some initial BDB_INDEX code... needs much work.
2001-10-04 22:29:34 +00:00
Kurt Zeilenga
3120d37951
More changes to let BDB build without LDBM.
2001-10-04 06:34:03 +00:00
Kurt Zeilenga
9b98f46a5e
Add prelim index code from LDBM, needs work...
2001-10-04 02:55:09 +00:00
Kurt Zeilenga
0135c8dbb1
Add BDB index config code
2001-10-03 21:11:52 +00:00
Kurt Zeilenga
0bcc892fdf
Fix basic operations
2001-07-31 04:24:29 +00:00
Kurt Zeilenga
bee0650d9c
Work in progress codes. !UNTESTED!
2001-06-15 07:08:37 +00:00
Kurt Zeilenga
373479e5b8
Mostly working modify
2000-09-28 00:02:47 +00:00
Kurt Zeilenga
ddb1124e42
Rough in extended ops, modify, and modrdn.
...
General code cleanup.
2000-09-27 22:28:59 +00:00
Kurt Zeilenga
077c47c2a6
replace ALLIDS with RANGE IDLs
2000-09-26 22:22:42 +00:00
Kurt Zeilenga
21cc085854
Add reindex
2000-09-26 20:41:54 +00:00
Kurt Zeilenga
c182511f91
Add bdb_bind, clean up init, s/Backend/BackendDB/
2000-09-25 23:41:16 +00:00
Kurt Zeilenga
61a15be30a
Rough in search routine
2000-09-25 18:59:15 +00:00
Kurt Zeilenga
3874e8571d
Add dn2entry.c
2000-09-24 22:48:13 +00:00
Kurt Zeilenga
64c521085b
Add compare routine
2000-09-24 06:04:58 +00:00
Kurt Zeilenga
68a5db572c
rough in an add/delete and deadlock avoidance
2000-09-23 23:15:40 +00:00
Kurt Zeilenga
aaab54e142
Add bdb_add() and supporting routines
2000-09-22 06:46:32 +00:00
Kurt Zeilenga
2b82d4f486
remove lint
...
update bdb codes
2000-09-22 01:40:57 +00:00
Kurt Zeilenga
95627d674a
Add dn2id code
...
Add idl_insert
2000-09-20 07:21:09 +00:00
Kurt Zeilenga
67e3f97097
Add new nextid code.
2000-09-19 20:13:41 +00:00
Kurt Zeilenga
c1fdf4587c
Add errpfx and errcall
2000-09-18 21:35:08 +00:00