Commit Graph

1536 Commits

Author SHA1 Message Date
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
Pierangelo Masarati
ba507dc27b try harder to compute hasSubordinates (ITS#6549) 2010-05-18 02:18:48 +00:00
Kurt Zeilenga
3dadeb3efe happy belated New Year 2010-04-13 22:17:29 +00:00
Pierangelo Masarati
81469d0ff1 more on ITS#6507 2010-04-08 19:51:18 +00:00
Howard Chu
c99d8465b7 ITS#6501 zero lockobjs 2010-03-31 06:22:06 +00:00
Pierangelo Masarati
d85e24dfa3 fix return 2010-02-17 20:08:07 +00:00
Ralf Haferkamp
5ceb2cd4e0 ITS#6467, use memcpy instead for strcpy when copying across array
boundaries. To account for stricter checks when using -D_FORTIFY_SOURCE=2
with GCC 4.5
2010-02-15 15:25:47 +00:00
Ralf Haferkamp
bca52e1b18 ITS#6469, don't touch op_attrs when updatedn is modifying contextCSN 2010-02-05 11:49:49 +00:00
Pierangelo Masarati
0cf528630f implement support for selective iteration in slaptools (ITS#6442) 2010-01-18 15:00:40 +00:00
Howard Chu
b8a1da95a2 dn2id_lock is no longer needed 2010-01-11 22:14:15 +00:00
Hallvard Furuseth
ca563787ad Silence "maybe uninitialized" warning (eprev after 0 iterations, cannot happen) 2009-11-30 14:00:18 +00:00
Howard Chu
f685d9e78b Clean up prev commit 2009-11-04 06:09:51 +00:00
Howard Chu
f6983802e2 More for ITS#6360 2009-11-04 05:52:04 +00:00
Howard Chu
0ecb68e02d ITS#6360 fix cache cursize count 2009-11-04 00:47:45 +00:00
Hallvard Furuseth
dc26fb37eb Fix previous commit: backslash-space-newline -> backslash-newline 2009-10-21 20:15:15 +00:00
Ralf Haferkamp
96ce821037 ITS#6341 removal of last entry from cache caused corruption in the lru list 2009-10-20 14:41:09 +00:00
Pierangelo Masarati
49b1729ad7 don't dereference pointer in case of error 2009-10-19 23:41:11 +00:00
Pierangelo Masarati
b928fa97d8 silence warning 2009-08-19 13:02:54 +00:00
Pierangelo Masarati
8da69a9249 silence warnings 2009-08-19 12:55:15 +00:00
Pierangelo Masarati
f3cdcadf89 wrap gmtime for reentrancy (ITS#6262) 2009-08-18 23:48:15 +00:00
Pierangelo Masarati
5c62c82e00 more about ITS#6243 2009-08-17 23:05:48 +00:00
Howard Chu
016c518652 ITS#6230 fix typos 2009-07-27 18:54:56 +00:00
Howard Chu
474991afdf ITS#6222 dncachesize defaults to 0 == unlimited 2009-07-25 07:13:50 +00:00
Ralf Haferkamp
d430fa0346 error out when adding multiple olcIndex values for the same attribute (ITS#6196) 2009-07-03 14:29:40 +00:00
Howard Chu
53f8b761f1 More for ITS#6177 2009-06-19 07:11:01 +00:00
Howard Chu
68e252c9a9 ITS#6177 proposed fix, please test 2009-06-19 02:06:58 +00:00
Howard Chu
59a29c9801 ITS#6176 silently raise dncache to cachesize if smaller 2009-06-18 00:16:30 +00:00
Howard Chu
29be892cc1 Revert 1.274 2009-05-11 22:26:12 +00:00
Howard Chu
7ab16ae6c2 ITS#6103 send response on abandon 2009-05-11 04:30:36 +00:00
Howard Chu
6bd1861101 Fix c_leaves count 2009-05-08 06:37:05 +00:00
Howard Chu
1a8e3f9e3e More for prev commit 2009-05-08 04:48:03 +00:00
Howard Chu
7f9a60ae7a More for prev commit: delete bdb_cache_info(), must use cache_find_id().
Fixed cache.c_cursize counting.
2009-05-06 13:57:01 +00:00
Howard Chu
64dc274655 ITS#6095 experimental fix: avoid purging other cases of in-use EntryInfos,
avoid using purged EntryInfos that have not yet been fully unlinked.
2009-05-06 08:33:26 +00:00
Howard Chu
650ced22c8 More for ITS#5326 - don't free ora_e->e_name if same as o_req_dn 2009-05-05 21:54:01 +00:00
Howard Chu
a7fe6266d8 Don't do alock recovery in readonly mode since we didn't do BDB recovery 2009-05-03 00:49:35 +00:00