Commit Graph

96 Commits

Author SHA1 Message Date
Howard Chu
f94968fb5b Multi-threaded slapindex 2005-10-27 10:34:33 +00:00
Howard Chu
b3c3335418 Fix IDL caching 2005-10-27 01:41:34 +00:00
Howard Chu
888731e6c3 Use sorted array for indexed attrs instead of AVL tree 2005-10-26 08:31:38 +00:00
Howard Chu
b67c0123d2 Better IDL cache allocation 2005-10-26 05:24:41 +00:00
Howard Chu
8a69f642b8 hdb doesn't need to fix DNs for slapindex 2005-10-25 08:40:01 +00:00
Howard Chu
34e154e28b Add IDL caching for slapadd/slapindex quick mode 2005-10-22 21:41:58 +00:00
Howard Chu
ed5e8db572 Eliminate long-lived read transaction, we can just set a cursor's locker
ID explicitly to our long-lived locker. Should have thought of this before...
2005-10-18 21:35:07 +00:00
Howard Chu
8f7da062f5 ITS#4088 force cursors to use same locker 2005-10-18 20:52:04 +00:00
Howard Chu
c44210a8bf ITS#4088 proposed fix 2005-10-16 07:37:36 +00:00
Pierangelo Masarati
739128a016 silence warning(s) 2005-07-25 20:50:33 +00:00
Hallvard Furuseth
9d5308163c assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL). 2005-07-19 05:03:12 +00:00
Howard Chu
c8bffb5584 Fix bdb_tool_dn2id_get() - nobody should be calling bdb_dn2id() directly,
always call through the cache instead - bdb_cache_find_ndn().
2005-07-19 02:12: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
Howard Chu
11a1349366 ITS#3843 from jtownsend@opendarwin.org: hide index_attrs / index_dummy 2005-07-07 03:51:43 +00:00
Howard Chu
6399387580 ITS#3616 store contextCSN in glue entry if database suffix is empty 2005-04-15 06:58:03 +00:00
Howard Chu
a2a28f7b95 ITS#3616 allow adding entry with zero-length DN if the suffix is zero-length 2005-04-09 11:28:06 +00:00
Howard Chu
90d9791047 ITS#3616 use fake context entry if suffix is empty. 2005-04-09 10:01:13 +00:00
Howard Chu
dbb5d00908 ITS#3267 add a comment 2005-04-09 00:56:30 +00:00
Howard Chu
546bc9cf19 ITS#3267 fix out-of-order slapadd 2005-04-09 00:38:18 +00:00
Howard Chu
df3d8f3e30 Cleanup unused variables 2005-02-20 04:59:29 +00:00
Howard Chu
ad2a19d8eb More for SLAP_TOOL_QUICK, disable locks as well 2005-01-24 08:21:55 +00:00
Howard Chu
b674e6dd3d Omit transaction support when running with SLAP_TOOL_QUICK 2005-01-24 01:37:38 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Jong Hyuk Choi
273052b573 adaptive caching implementation 2004-12-14 17:22:22 +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
a518895b72 Fix previous commit 2004-12-06 07:27:09 +00:00
Howard Chu
3e5a2904e8 bdb_tool_dn2id_get should use bdb_dn2id, not duplicate the code 2004-12-06 07:25:33 +00:00
Howard Chu
127a85b553 More Operation/Opheader fixes 2004-11-26 09:39:14 +00:00
Pierangelo Masarati
bc478dee46 log the right function names 2004-11-17 14:53:03 +00:00
Pierangelo Masarati
be32dce97f rework static backend initialization 2004-11-11 00:38:11 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Howard Chu
dd7003cf9f Added linearindex option for slapindex. Improves performance when database
size exceeds dbcache size by minimizing cache thrashing.
2004-07-22 22:32:37 +00:00
Howard Chu
7c7754b956 Better fix for ITS#3063, #3186 2004-06-12 07:39:24 +00:00
Howard Chu
9cf45220d2 ITS#3186 don't print error when empty DN "" is the only thing missing 2004-06-12 05:29:55 +00:00
Howard Chu
896271195a ITS#2974 fix hole array allocation 2004-03-02 23:01:04 +00:00
Howard Chu
36914d7be6 trim prev commit 2004-01-12 04:15:51 +00:00
Howard Chu
a8dbfd322a Really fix ITS#2905 2004-01-12 04:09:52 +00:00
Howard Chu
778516cc8c Fix ITS#2905, properly detect duplicate entries 2004-01-12 03:54:01 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Kurt Zeilenga
9d811eb1fa Notices 2003-11-28 21:08:20 +00:00
Howard Chu
0342904699 back-hdb caching updates, use EntryInfo cache for hdb_dn2idl. 2003-09-22 08:37:32 +00:00
Luke Howard
9459a7f535 fix typo 2003-09-17 11:05:06 +00:00
Jong Hyuk Choi
c36f32a9e4 slaptool update for LDAP Sync replication 2003-08-30 15:19:35 +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
Hallvard Furuseth
d426e40e57 Remove excess `0' arguments to fprintf. 2003-05-15 11:47:42 +00:00
Howard Chu
574ca540d4 Revert prev commit 2003-05-11 10:09:51 +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
c84c133c90 Plug mem leak in slapindex 2003-05-10 03:56:01 +00:00
Howard Chu
2d5d4ecffa ITS#2480 uninit'd vars 2003-05-02 13:38:16 +00:00
Hallvard Furuseth
51da53b4b0 Print long with %ld, not %d. 2003-04-29 14:55:36 +00:00