Kurt Zeilenga
588a458d78
MSVC5 cleanup...
...
lber: ifdef'ed out lber_..set_nonblock() function because it used ioctl's.
If it remains, it needs to be written to support various methods for
setting non-blocking. ioctls should probably be last choice. configure
could detect existance of fcntl(), ioctl(), etc.
bdb2:
added .dsp/.dsw files and did some basic cleanup (still needs work).
1999-03-06 00:57:25 +00:00
Kurt Spanier
3f76ee7a0b
Make dbEnv a private toy of back-bdb2.
1999-03-05 10:25:55 +00:00
Juan Gomez
3ba99a75ef
Added parameter newSuperior in preparation to support
...
LDAP v3 MODDN request.
1999-03-05 03:38:12 +00:00
Juan Gomez
9fc5e8a409
Rename
...
int add_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
int delete_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
int replace_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
to
int bdb2i_add_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
int bdb2i_delete_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
int bdb2i_replace_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
So that ldbm and db2 backends can coexist.
1999-03-05 01:33:32 +00:00
Juan Gomez
b41a79fe16
Renamed
...
int add_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
int delete_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
int replace_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
to
int bdb2i_add_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
int bdb2i_delete_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
int bdb2i_replace_values LDAP_P(( Entry *e, LDAPMod *mod, char *dn ));
So that ldbm and db2 backend can coexist
1999-03-05 01:28:38 +00:00
Juan Gomez
68a413a601
Made add_values(), delete_values(), and replace_values() so they can be
...
used in implementing modrdn v3.
1999-03-03 22:55:28 +00:00
Kurt Zeilenga
fdc44bf313
Apply ldbm bind() change to bdb2 code.
1999-03-02 20:42:29 +00:00
Kurt Zeilenga
4e160e83b6
Replace IFP() with appropriate full prototypes:
...
AVL_CMP, AVL_DUP, AVL_FREE, AVL_APPLY.
Apply casts as needed.
Change data pointer from caddr_t to void *.
1999-03-02 00:32:59 +00:00
Kurt Spanier
5d2699b7ce
Introduction of first version of transaction processing (TP) into BDB2.
1999-03-01 11:30:18 +00:00
Kurt Spanier
9cb23b462e
More timing for performance testing. Re-introduction of cache.c_mutex.
1999-02-22 11:22:44 +00:00
Kurt Spanier
3a9f96ec0d
Code clean-up.
1999-02-18 15:33:15 +00:00
Kurt Spanier
ac4cb22f1c
Elimination of entry- and cache-level locking in back-bdb2.
...
Slight adaption of concurrency-test to enable even more writers/readers.
1999-02-17 11:13:22 +00:00
Kurt Zeilenga
c2b7c9e2db
Add ac/errno.h and use other generic headers when available.
1999-02-16 18:07:19 +00:00
Kurt Spanier
39f0066db4
Addition of a new Concurrency Test fro testing slapd performance and
...
correctness of locking schemas in backends.
In back-bdb2 open NEXTID during startup and close at shutdown.
1999-02-15 10:49:20 +00:00
Kurt Spanier
548942edbe
BugFix and selection in the test-suite of the bdb2 backend-specific
...
slapd server timing via a new slapd command line option '-t'.
1999-02-12 15:22:43 +00:00
Kurt Spanier
2cf83d84ee
Server timing as a private feature of the bdb2 backend.
1999-02-12 14:36:16 +00:00
Kurt Spanier
6e63b58a3e
Update of back-bdb2 to KDZ's new entry lock schema.
...
Fix of a back-bdb2 --> back-ldbm leakage (==> new bdb2-specific DB file suffix).
1999-02-12 12:13:03 +00:00
Kurt Zeilenga
c2c0d9687f
Complete entry_cmp() migration (remove rename macros).
1999-02-11 17:52:28 +00:00
Kurt Zeilenga
745a10f080
Update LDBM cache so that it manages it's own state.
...
cache_set_state() and state args are no history.
Move cache_entry_cmp() and friends to slapd/entry.c to allow sharing
of functions between backends.. Renamed to entry_cmp().
1999-02-11 17:46:56 +00:00
Kurt Spanier
529caeddd0
Elimination of un-used code in bdb2i_cache_open and friends.
...
Provision for a bdb2 backend-specific DB file suffix.
Fix of the double-open of backend types.
1999-02-10 13:19:11 +00:00
Kurt Zeilenga
191752c9a7
Fix modrdn bug in back-bdb2 as well. Probably should move
...
dn rewriting to frontend dn.c function.
1999-02-09 18:07:01 +00:00
Kurt Spanier
42f6e78dd4
Integration of the BDB2 backend into the new init/startup/shutdown schema.
...
Integration into ./configure ( --enable-bdb2 ).
Adaptation of the test-suite ( 'make' -> ldbm; 'make bdb2-local' -> bdb2 ).
Minor fixes in slapd/libldbm.
1999-02-08 11:42:14 +00:00
Kurt Spanier
d92b9d3c9e
Introduction of a new Berkeley DB version 2 (!) specific backend.
...
BEWARE: the backend will be compiled.
the backend will NOT be invoked, yet.
the backend CANNOT be invoked, yet, because it is NOT yet
integrated into the new initialization/startup environment
of the slapd server.
1999-02-05 16:23:03 +00:00