Commit Graph

172 Commits

Author SHA1 Message Date
Howard Chu
f1ae2e63c1 Fix BDB 4.3 fasttool, flag must be set before opening environment 2004-11-17 15:12:31 +00:00
Pierangelo Masarati
262df940f1 cleanup previous commit 2004-11-17 15:05:59 +00:00
Pierangelo Masarati
bc478dee46 log the right function names 2004-11-17 14:53:03 +00:00
Pierangelo Masarati
b29bf83e7e remove back-*/external.h 2004-11-15 19:45:49 +00:00
Pierangelo Masarati
9c550e7235 first step towards removing back-*/external.h 2004-11-13 18:52:44 +00:00
Pierangelo Masarati
be32dce97f rework static backend initialization 2004-11-11 00:38:11 +00:00
Kurt Zeilenga
b29e311ae7 unifdef -DBDB_ALIASES
delete dead code
2004-11-05 07:48:15 +00:00
Howard Chu
84ce549016 define DB_VERSION_FULL to simplify version checks 2004-10-16 21:59:58 +00:00
Jong Hyuk Choi
6db389efd9 further cleanup of search data upon exit, abandon, cancel 2004-10-16 16:10:00 +00:00
Howard Chu
7e87f54716 Revert ITS#3353 patch, it needs to be reworked. 2004-10-06 05:51:38 +00:00
Howard Chu
fda3d6260e ITS#3353 consolidate slapd globals into a single struct 2004-10-01 07:33:16 +00:00
Jong Hyuk Choi
5c0581b184 Modified @oc supprot code to the share anlist routines; Revised anlist routines 2004-09-23 02:48:14 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Howard Chu
3fd4d04168 Release cache locker on db close 2004-07-12 14:29:13 +00:00
Pierangelo Masarati
4424b9d57f log what backend is starting (bdb/hdb) 2004-07-11 22:52:26 +00:00
Howard Chu
ebc8bb0d83 Use long-lived per-thread TXNs for loading entries from DB.
Make sure only one thread tries to load a given entry at a time.
Bump up the DB environment's max TXNs to accomodate the new TXNs.
2004-07-09 17:00:07 +00:00
Jong Hyuk Choi
70314bd98b SLAP_IDL_CACHE macro removed 2004-07-09 03:31:52 +00:00
Howard Chu
c63817b9bd ITS#3201 partial fix. still encountering deadlocks. 2004-06-24 17:56:43 +00:00
Howard Chu
f2e1df3ef7 Consolidated static/dynamic backend switches 2004-04-08 05:56:23 +00:00
Kurt Zeilenga
44725e7303 use BER_BVNULL 2004-04-07 04:11:43 +00:00
Kurt Zeilenga
2fcaa15b90 First rounds of backend/database flag cleanup 2004-04-05 21:00:16 +00:00
Howard Chu
113870c194 Revert to original code 2004-03-06 19:15:39 +00:00
Howard Chu
ea0d619dae Store IDs in BeigEndian format on disk 2004-03-06 12:41:29 +00:00
Howard Chu
18bb805736 Fix prev commit 2004-03-05 15:40:37 +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
Jong Hyuk Choi
fa2aa5bb25 fix for concurrent persistent searches 2003-12-11 00:04:52 +00:00
Kurt Zeilenga
38ccdaf7a3 unifdef -DLDAP_CONTROL_PAGEDRESULTS (as it is always defined) 2003-12-08 18:16:07 +00:00
Howard Chu
b5052153c2 Minor cleanup 2003-12-07 03:59:54 +00:00
Kurt Zeilenga
9d811eb1fa Notices 2003-11-28 21:08:20 +00:00
Howard Chu
e61748780b ITS#2816 init_module for dynamic HDB 2003-11-13 21:49:48 +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
10811b6f51 Clarify/standardize library version mismatch error messages 2003-09-12 00:54:21 +00:00
Jong Hyuk Choi
c36f32a9e4 slaptool update for LDAP Sync replication 2003-08-30 15:19:35 +00:00
Jong Hyuk Choi
090ac0a772 unifdef LDAP_SYNC and LDAP_SYNCREPL 2003-08-27 22:16:04 +00:00
Kurt Zeilenga
b54780f940 Add initial support for modify/increment. No over/under flow detection.
Currently discovered via a "feature", but should use a control.
Start of a control made, but needs to be better integrated (with
auto use in ldapmodify(1)).
2003-08-07 16:42:40 +00:00
Jong Hyuk Choi
262f8bf11f LCUP primitive routines removed 2003-06-27 17:39:48 +00:00
Jong Hyuk Choi
e70377b875 IDL cache AVL tree initialize 2003-06-26 06:24:24 +00:00
Howard Chu
aa3b69eb32 ITS#2440 unmunge init_module names 2003-06-12 22:25:20 +00:00
Kurt Zeilenga
a8e859a401 Add server side assert control support. 2003-06-10 04:44:41 +00:00
Howard Chu
6aa3637545 Added SLAP_TOOL_READMAIN and SLAP_TOOL_READONLY slapMode flags. The rw
arg to tool_entry_open comes too late for back-bdb to use.
2003-05-11 07:03:48 +00:00
Howard Chu
6f461690c1 Function renaming, make internal funcs static, etc. 2003-04-23 06:34:55 +00:00
Howard Chu
68822b1e15 Trim dead BDB_HIER stuff 2003-04-22 17:06:35 +00:00
Howard Chu
d290145776 memory context tweaks 2003-04-21 18:28:38 +00:00
Howard Chu
6fd41cd254 Add shm_key config keyword to use shared memory for BDB environment
Unmeasurable performance difference on my tests, but who knows...
2003-04-18 09:43:22 +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
Howard Chu
377bccbc6c Hierarchical cache management. 2003-04-16 16:23:36 +00:00
Howard Chu
ca9bb44089 Free IDL_CACHE locks 2003-04-16 01:04:00 +00:00
Pierangelo Masarati
06a99afbdb free cache only if required 2003-04-08 23:22:10 +00:00
Jong Hyuk Choi
b1b36ae75f bdb->bi_idl_tree_lrulock initialize 2003-04-08 16:30:56 +00:00