Emily Backes
c453a236fc
Update name information
2012-07-22 07:08:35 -07:00
Howard Chu
ccffd16085
TS#7303 tweak
2012-06-12 16:23:54 -07:00
Howard Chu
7c28420618
ITS#7303 fix unneeded alias lookups
2012-06-12 16:16:07 -07:00
Hrvoje
243a2316d3
ITS#7222 fix bdb/hdb cache hang under high load
2012-05-31 10:48:38 -07:00
Howard Chu
8bf047c8cb
ITS#7231 simplify prev commit
2012-04-07 07:57:39 -07:00
Howard Chu
494c6fa37f
ITS#7231 fix idl_append when b has only 1 element
2012-04-07 07:36:43 -07:00
Pierangelo Masarati
ce54dabb1b
fix uninit'ed parameters to monitor_back_register_entry_attrs()
2012-04-04 15:09:50 +02:00
Kurt Zeilenga
2bbf9804b9
Happy New Year!
2012-01-01 07:10:53 -08:00
Howard Chu
8a6402436e
More cleanup for previous slapadd tweaks
2011-11-17 14:21:18 -08:00
Howard Chu
9f22ced88b
Fix Quickmode crash
2011-11-07 12:02:57 -08:00
Howard Chu
7592013f59
Additional tweaks for double-threaded slapadd
2011-10-06 16:10:47 -07:00
Howard Chu
df47eb24cd
Additional change for prev commit
2011-10-04 23:45:33 -07:00
Howard Chu
34adb86929
Use a thread for LDIF parsing in slapadd -q
2011-10-04 19:21:39 -07:00
Hallvard Furuseth
47f6aec61e
back-bdb/back-mdb IDL cleanup.
...
Parenthesize macros. Microoptimize IDL search. Use RANGE_<FIRST/LAST>
when IDL is known to be a range.
2011-09-19 10:31:12 +02:00
Howard Chu
9297050f9e
Resolve MDB/HDB monitor OID clashes
2011-09-12 11:41:04 -07:00
Howard Chu
4f35d789ac
Relax entry_header, zero-length entries are valid.
2011-08-27 14:48:04 -07:00
Howard Chu
1c476b302e
ITS#6983 fix duplicate entry in HDB subtree IDL
2011-08-25 14:47:23 -07:00
Howard Chu
f5b809b2e9
Fix ce9bbd2
missing success return
2011-06-03 21:56:01 -07:00
Howard Chu
ce9bbd2df2
More for ITS#6961 - deadlock checking
2011-06-01 11:29:39 -07:00
Howard Chu
f5cb879aed
Fix for sparse ranges, get next ID from DB
...
Instead of iterating thru potentially many nonexistent IDs
2011-06-01 01:44:51 -07:00
Hallvard Furuseth
fac36dcba7
ITS#6932: Clean up strange asserts & nearby code.
...
Mostly found by Klocwork: Issues #213,298-300,331,342-343,374,390,410.
2011-05-05 15:55:29 +02:00
Hallvard Furuseth
e2e5a8504d
klocwork#255 Fix sprintf(%d, u_int32_t)
2011-05-05 13:51:36 +02:00
Howard Chu
31175da39e
More for ITS#6853, check for trickle thread not yet started
2011-03-16 17:30:24 +00:00
Howard Chu
2399e2536f
More for 6853, add condvar for end condition
2011-03-11 22:16:13 +00:00
Howard Chu
7dd1089706
ITS#6853 wait for trickle task to quit
2011-03-04 23:54:10 +00:00
Howard Chu
bfa05a5e32
More for #6561 - delete returns NO_SUCH_ATTRIBUTE, not TYPE_OR_VALUE_EXISTS
2011-03-04 07:54:06 +00:00
Howard Chu
07147abadc
Fix prev commit
2011-03-04 07:22:15 +00:00
Howard Chu
bc2b9f54f7
ITS#6845 don't muck with save_attrs for index deletes, use a new array
2011-02-28 10:17:03 +00:00
Ralf Haferkamp
24eb35f9b7
fix bdb_cache_deref() definition to match prototype
2011-02-23 15:51:09 +00:00
Howard Chu
4f2949b1ce
Use refcnt instead of keeping entry locked in Add response
2011-02-23 03:53:21 +00:00
Hallvard Furuseth
2a9ef9badc
Silence gcc -Wformat: Cast printf %p arg to void*
2011-02-04 21:24:13 +00:00
Ralf Haferkamp
35c2869e44
ITS#6794 Fixed slapadd -q for glued databases
...
Cleanup memory/threads more thoroughly in bdb_tool_entry_close() so that a
subsequent bdb_tool_entry_open() (e.g. for a glued database) can setup
things correctly again.
2011-01-21 17:11:21 +00:00
Kurt Zeilenga
966cef8c9a
Happy New Year
2011-01-05 00:42:37 +00:00
Pierangelo Masarati
b672d8535d
make sure initialization is only tried once; improve error messages
2011-01-02 15:06:11 +00:00
Hallvard Furuseth
abf7f2efce
ITS#6758 back-bdb: Delay setting sr->sr_entry until we know it will be used
2010-12-31 00:04:38 +00:00
Hallvard Furuseth
d2b024be4a
ITS#6758 Reset some SlapReply flags & data.
...
Reset data more consistenlty. When resetting sr_entry after sending
data, reset sr_flag as well. Reset rs_attrs and Extended Operation
oid/data after setting and sending them.
2010-12-30 23:55:07 +00:00
Hallvard Furuseth
cd6e9156e7
Remove lint (unused vars/labels/funcs/default:s)
2010-12-30 23:34:55 +00:00
Hallvard Furuseth
c9e85af35c
ITS#6759: assert;Debug -> Debug;assert
2010-12-30 23:19:02 +00:00
Howard Chu
56888eac30
Move assertion checking to slap_compare_entry()
2010-12-23 21:53:05 +00:00
Howard Chu
9bb47f74ae
ITS#6753 use slap_compare_entry()
2010-12-23 21:45:36 +00:00
Howard Chu
0393fe8974
Cleanup for #6660
2010-12-23 04:40:57 +00:00
Howard Chu
f58a646ad6
ITS#6660 preliminary fix. debug additions need to be cleaned up.
2010-12-23 00:16:19 +00:00
Hallvard Furuseth
720aa4b77e
Plug mutex/rwlock leaks (destroy them)
2010-12-20 10:57:06 +00:00
Pierangelo Masarati
40831ba54f
do not add hasSubordinates if already present (fixes ITS#6712 for back-bdb/hdb, other backends may need work)
2010-11-18 11:33:47 +00:00
Pierangelo Masarati
55f88b5b49
do not assume sr_err == LDAP_SUCCESS; cleanup
2010-09-30 14:26:56 +00:00
Pierangelo Masarati
79d4e4cf6a
add support for ADD_IF_NOT_PRESENT and SOFTDEL internal modification types (ITS#6561)
2010-09-07 13:21:20 +00:00
Pierangelo Masarati
eb11ba008c
let the error propagate to overlays (ITS#6633)
2010-08-29 15:35:47 +00:00
Howard Chu
3b2cef17eb
ITS#6577 real fix: keep dn2id cursor open until we re-acquire lock
...
on entryInfo, otherwise BDB locks in reader txn are released too soon
2010-07-01 16:38:32 +00:00
Howard Chu
f12290c64f
move slap_graduate_commit_csn() to after entry lock is released
2010-06-30 00:00:59 +00:00
Howard Chu
bdf52f4fc4
ITS#6577 potential fix, found using valgrind/drd. please test.
2010-06-20 21:28:04 +00:00