Commit Graph

87 Commits

Author SHA1 Message Date
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
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
f0577fcb08 Pass parent EntryInfo instead of parent DN to dn2id_add/delete.
Add bdb_cache_children, remove cache flag manipulation from dn2id_children
2003-04-22 04:06:09 +00:00
Howard Chu
d290145776 memory context tweaks 2003-04-21 18:28:38 +00:00
Howard Chu
377bccbc6c Hierarchical cache management. 2003-04-16 16:23:36 +00:00
Howard Chu
ece7452b05 More memory context tweaks 2003-04-11 01:29:28 +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
Kurt Zeilenga
0f0122abdd need to use ch_malloc/realloc 2003-03-09 20:15:30 +00:00
Howard Chu
321780eb66 Complain about holes in database at end of slapadd 2003-02-26 15:33:20 +00:00