Hallvard Furuseth
999ff398d6
thr_debug: tweak debug_already_initialized().
...
With gcc, declare debug_already_initialized() as 'noinline' so
its deliberate uninitialized access stays inside the function and
valgrind can ignore it there.
2012-01-24 01:45:51 +01:00
Hallvard Furuseth
624642ba83
Fix sl_malloc valgrind support.
2012-01-24 01:45:51 +01:00
Hallvard Furuseth
9b903cc8b1
.gitignore += ucgendat
2012-01-24 00:47:48 +01:00
Hallvard Furuseth
db49dfecc9
ITS#7131 Fix connection loop connindex usage.
...
connection_<first/next>() takes a ber_socket_t *index, not int*.
2012-01-24 00:47:48 +01:00
Hallvard Furuseth
2b538761e9
ITS#7125 Document connection loop API.
...
Code comments belong in the code, not in commit messages.
2012-01-24 00:47:48 +01:00
Hallvard Furuseth
23f3657807
ITS#7115: Tighten ldap_pvt_thread_pool_unidle().
...
Only wait out already-started pauses, not pause reqests.
ltp_pause now says whether a pause is requested or has started.
This reduces the chance that slapd:send_ldap_ber() will start
a pause in the middle of an operation.
2012-01-24 00:47:48 +01:00
Howard Chu
a8f6deee03
Merge remote branch 'origin/mdb.master'
2012-01-21 17:32:18 -08:00
Howard Chu
953796759e
Fix typo in e8e57be421
2012-01-21 17:31:23 -08:00
Kevan Carstensen
7e893c75d1
ITS#7113 fix check order in connection_write()
2012-01-21 17:27:47 -08:00
Howard Chu
5ca62457f3
Fix: txn is invalidated by mdb_txn_commit()
2012-01-21 08:49:49 -08:00
Howard Chu
7d13ef7e42
Merge remote branch 'origin/mdb.master'
2012-01-21 08:29:03 -08:00
Howard Chu
e8e57be421
Add valgrind support with -DUSE_VALGRIND
...
Track allocations and invalid accesses to freed tmp pages.
2012-01-21 08:22:59 -08:00
Howard Chu
3d6b924c25
txn_commit must abort txn before returning errors
...
Fix for failure when committing a txn that is a child of
some parent txn.
2012-01-21 08:20:43 -08:00
Howard Chu
1c8de1883c
ITS#7121 fix page splits when newindx == 0
2012-01-21 08:18:37 -08:00
Howard Chu
b9cbcb0588
ITS#7126 fix cursor tracking code
...
Don't compare cursors that aren't deep enough to match the
current cursor.
2012-01-21 08:12:56 -08:00
Howard Chu
713bf092b6
Happy New Year!
2012-01-21 08:09:16 -08:00
Howard Chu
a17f8e7326
ITS#7121 fix page splits when data+key size is too large
2012-01-21 08:09:16 -08:00
Kurt Zeilenga
81afbb2fca
Happy New Year!
2012-01-21 08:07:21 -08:00
Hallvard Furuseth
03e594d903
ITS#7075 Re-fix back-perl initialization.
...
Use PERL_SYS_INIT3() after all. There appears to be no correct
way to do this, so we should as least follow the documentation.
2012-01-21 05:01:43 +01:00
Howard Chu
214ad8c987
ITS#7127 fix syncrepl_config reference to freed memory
2012-01-19 15:55:54 -08:00
Howard Chu
cedbc9f77f
Clarification/warning about delta-sync backup/restore
2012-01-16 10:10:19 -08:00
Hallvard Furuseth
221d3ccdc6
ITS#7125 Fix Connection.c_mutex usage.
...
Partial revert of 9e00b6cc6ce2857490b33218bdaf1339319c5f60:connection.c.
2012-01-13 16:07:39 +01:00
Hallvard Furuseth
fa7575666f
ITS#7115 Re-fix tpool.c (idle/unidle)
2012-01-13 15:38:12 +01:00
Howard Chu
e86da2fe3f
ITS#7121 fix page splits when data+key size is too large
2012-01-04 15:27:15 -08:00
Kurt Zeilenga
2bbf9804b9
Happy New Year!
2012-01-01 07:10:53 -08:00
Howard Chu
30ae9d8807
ITS#7117 fix typo
2011-12-27 02:07:14 -08:00
Howard Chu
68ee165fb5
ITS#7115 blocked writers should not interfere with pool pause
2011-12-21 01:24:23 -08:00
Howard Chu
c61b0c3b29
Dummy commit
...
Subject: ITS#7111
2011-12-15 21:04:08 -08:00
Howard Chu
85c1c545f4
ITS#7107 fix Operation init on reuse
...
Additional fix for a66fb1630c
2011-12-14 19:33:40 -08:00
Howard Chu
50e02126b7
ITS#7050 fix uninit'd return code in back-meta
2011-12-12 11:52:05 -08:00
Hallvard Furuseth
38e8b2333f
ITS#6979 clean up previous test062 fix
2011-11-30 12:00:43 +01:00
Hallvard Furuseth
98c6d52593
ITS#7101 test001: Skip back-ldif unordered slapadd
2011-11-30 11:41:50 +01:00
Howard Chu
704e8228c0
ITS#7098 fix del/add of first schema element
2011-11-29 08:16:34 -08:00
Howard Chu
5b7c44a136
ITS#7099 fix dds db_open
...
Should not do anything in tool mode.
2011-11-29 05:57:36 -08:00
Howard Chu
4f298d47af
ITS#7099 fix mdb_entry_return for tool mode
...
Originally, overlays were not supposed to take effect in tool mode.
Apparently that's no longer the case...
2011-11-29 05:42:46 -08:00
Howard Chu
2a8b55b1c5
ITS#7090 test unordered slapadd
2011-11-25 01:29:34 -08:00
Howard Chu
2c4d548206
ITS#7090 fix out-of-order slapadd
2011-11-25 00:25:52 -08:00
Pierangelo Masarati
26dc16e9f6
fix typos
2011-11-24 19:58:37 +01:00
Howard Chu
fadb48a723
Add $(SOLIBS) macro for shared lib dependencies
2011-11-21 16:30:58 -08:00
Hallvard Furuseth
9845c030ab
make alltests += back-ldif tests
2011-11-20 13:53:35 +01:00
Hallvard Furuseth
e5c627c80b
.gitignore -= Makefile in libmdb,slapd-modules/*/*
2011-11-20 13:53:22 +01:00
Hallvard Furuseth
ef76d419ec
ITS#6548,#7092 Unbind,cleanup before client exit.
...
Gets rid of "(connection lost)" in slapd statslog "closed" message.
2011-11-20 13:52:40 +01:00
Hallvard Furuseth
26d881a93c
Fix uninitialized variable in ldapmodify.
...
Introduced by 3a46af398c
.
2011-11-20 13:52:07 +01:00
Hallvard Furuseth
27c95a70df
Regenerate configure
2011-11-20 13:50:12 +01:00
Howard Chu
42a7fcf19a
ITS#6548,#7092 don't pass hangup events to reader thread
2011-11-19 13:57:56 -08:00
Howard Chu
95a72ac82a
Add $(SOLIBS) macro for shared lib dependencies
2011-11-18 15:43:55 -08:00
Howard Chu
7be5837dc0
Cleanup syncprov_db_close/CONFIG_DELETE code
...
No mutex needed since config ops are single-threaded.
Don't send Unavailable message if we're shutting down.
2011-11-18 01:22:52 -08:00
Howard Chu
278322ee5f
ITS#7025 fix syncprov crash
...
init fop.o_extra, copying from s_op is not guaranteed.
2011-11-18 00:31:20 -08:00
Howard Chu
111ecbdbed
ITS#6851 replace assert with error msg
2011-11-17 17:35:10 -08:00
Howard Chu
8a6402436e
More cleanup for previous slapadd tweaks
2011-11-17 14:21:18 -08:00