Commit Graph

1125 Commits

Author SHA1 Message Date
Pierangelo Masarati
29dfcec866 reverse previous commit 2005-11-04 20:00:03 +00:00
Pierangelo Masarati
a00f337acd partially revert previous commit 2005-11-04 07:57:54 +00:00
Howard Chu
8f7fbfe60a ITS#4143 bdb_tool_info should only be non-NULL for QUICK index/add 2005-11-04 02:52:14 +00:00
Pierangelo Masarati
a1a68333dc only add opattrs if not shadow; use helper to extract rdn 2005-11-04 01:27:31 +00:00
Kurt Zeilenga
ecd86725f2 Update result code to IANA-assigned values
Provide some backwards compatibility.
Misc cleanup
2005-11-03 01:27:07 +00:00
Howard Chu
948e19e132 ITS#4132 reset CACHE_ENTRY_ONELEVEL when complete. Fell out from a bad merge. 2005-11-01 15:52:44 +00:00
Howard Chu
9edea08357 Fix uninit'd rc 2005-10-30 07:42:08 +00:00
Howard Chu
675cda1b62 Use #ifdef BDB_TOOL_IDL_CACHE to enable IDL cache. Leave disabled for
now, it appears to just slow things down.
2005-10-27 13:57:48 +00:00
Howard Chu
8d0ed89832 Fix cache flush / retry sequencing 2005-10-27 13:38:21 +00:00
Howard Chu
d85cb6efbb Revert to previous IDL cache scheme. Doesn't seem to help much in
the threaded case, may be best without it.
2005-10-27 12:00:26 +00:00
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
08cc40317b Fix notags/nosubtypes handling 2005-10-26 06:36:34 +00:00
Howard Chu
b67c0123d2 Better IDL cache allocation 2005-10-26 05:24:41 +00:00
Howard Chu
2f9965c32b Lower id2entry cache priority in tool mode 2005-10-25 10:54:04 +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
a14fd7cc3b Cleanup unused def 2005-10-18 21:36:06 +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
6e2c36b03d Fix noop behavior, don't same TXN twice. Use consistent return code. 2005-10-17 08:09:28 +00:00
Howard Chu
c44210a8bf ITS#4088 proposed fix 2005-10-16 07:37:36 +00:00
Howard Chu
7dcb68f6fa Move CSN invocations to backends 2005-10-13 11:58:44 +00:00
Kurt Zeilenga
6db7e605ee Align Operation buffers using LBER_ALIGNED_BUFFER 2005-10-12 23:17:28 +00:00
Howard Chu
1ea0c0dbda Remove obsolete csn variables 2005-10-12 07:59:51 +00:00
Howard Chu
a0db9c1341 Fix dn2id_add/del parent cache updates 2005-09-27 14:11:10 +00:00
Howard Chu
052a4ae6c4 More hdb optimizing - cache subtree IDLs, not just onelevels 2005-09-26 07:30:36 +00:00
Howard Chu
dd21d3a29f ITS#4030 fix alias deref for Finding, fix alias error code propagation. 2005-09-22 21:12:04 +00:00
Howard Chu
3a9814e725 Fix prev commit, BIG_ENDIAN was broken 2005-09-16 01:56:36 +00:00
Howard Chu
aa0cc7b835 More hdb tweaks, add radix sort code from mbackes@symas.com 2005-09-16 01:25:40 +00:00
Howard Chu
13154b25e3 Fix SWAP macro 2005-09-15 13:54:26 +00:00
Howard Chu
4a7f5e33bd More optimizing - try harder to avoid sorting 2005-09-15 08:29:58 +00:00
Howard Chu
20223a9ca5 Fix ISTACK space 2005-09-15 03:59:11 +00:00
Howard Chu
d269703322 Yet another idl_merge fix (test032 failure) 2005-09-15 03:49:52 +00:00
Howard Chu
6411c57028 Fix prev commit, use BDB_IDL_LAST() 2005-09-15 03:19:26 +00:00
Howard Chu
9b641006cb ITS#4029 Fix misplaced lines in prev commit 2005-09-15 01:22:22 +00:00
Howard Chu
aa3297aa36 More back-hdb search optimization 2005-09-13 07:55:01 +00:00
Howard Chu
9df4ae7d6b Fix prev commit 2005-09-12 05:52:55 +00:00
Howard Chu
ab2b541988 Tweak stack size in prev commit 2005-09-12 03:56:21 +00:00
Howard Chu
2dd87ed9e6 Use quicksort instead of heapsort for hdb_idl_sort 2005-09-12 03:54:52 +00:00
Howard Chu
214e13eecc Tweak newsuperior error codes 2005-09-10 01:51:34 +00:00
Howard Chu
262c44772d ITS#2757 remove be_isroot checks, simplify... 2005-09-10 01:16:55 +00:00
Howard Chu
9944c9c461 ITS#4015 silence pointer/integer size warnings 2005-09-08 23:47:19 +00:00
Howard Chu
aa897eae90 ITS#4010 fixes complaint, larger problem remains 2005-09-08 15:28:36 +00:00
Howard Chu
a59c109109 Check errcode from dn2entry before using ei 2005-09-08 11:14:12 +00:00
Howard Chu
464fc6b68a ITS#3978 move alock from back-bdb to slapd 2005-09-04 15:21:57 +00:00
Howard Chu
8eed3a4bb5 ITS#3992 check bi_dbenv 2005-09-01 12:15:30 +00:00
Howard Chu
7e92728db9 Fix another leaked environment. 2005-08-26 02:35:32 +00:00
Howard Chu
143a1cdae1 Must close env before removing it. 2005-08-25 03:00:29 +00:00