Pierangelo Masarati
112be0118e
cleanup states/timeout handling in back-ldap/meta; add connection pooling and defer of pseudoroot bind to back-meta
2005-09-24 18:39:26 +00:00
Pierangelo Masarati
e2c9c843e1
fix previous commit; cleanup few 64 bit issues
2005-09-24 17:09:19 +00:00
Howard Chu
bf7194aba9
ITS#3923 make perl_back_open symmetric with perl_back_close
2005-09-23 11:54:48 +00:00
Howard Chu
3a018600d3
Revert prev commit
2005-09-23 06:27:16 +00:00
Howard Chu
e840a34fef
Fix end conditions for tavl_end and tavl_next
2005-09-23 06:25:13 +00:00
Howard Chu
a51cf20cea
ITS#4026 add -F description for all tools
2005-09-23 00:01:54 +00:00
Howard Chu
5fd0e53b15
ITS#4031 don't update syncCookie if it has invalid ctxcsn
2005-09-22 21:22:00 +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
0951e71df4
tavl_delete: copy balance factor
2005-09-22 01:16:28 +00:00
Howard Chu
495f7e5629
tavl_delete - swap whole structures, not the data pointers.
2005-09-21 19:18:40 +00:00
Howard Chu
fcac0626ad
Fix tavl_delete threading
2005-09-21 15:19:36 +00:00
Howard Chu
aafdf48e99
Add tavl_end and tavl_next
2005-09-21 14:46:04 +00:00
Howard Chu
ecc5186955
Add testtavl, add tavl_end and tavl_next. tavl_delete still needs work.
2005-09-21 14:45:35 +00:00
Howard Chu
cbb86907a2
Add threaded AVL functions
2005-09-21 11:27:14 +00:00
Howard Chu
b6e38a12bf
Rearrange avlnode / padding, add threaded AVL functions
2005-09-21 11:26:56 +00:00
Kurt Zeilenga
cff4c03e9e
some TESTDIR fixes
2005-09-21 02:40:09 +00:00
Kurt Zeilenga
f3e13ec5f5
Don't use #ifdefs in the inside of a macro
2005-09-19 22:17:22 +00:00
Pierangelo Masarati
ae0b39e3cc
use result of validation (ITS#4028)
2005-09-19 09:06:29 +00:00
Hallvard Furuseth
123948bd5e
Add thread debugging wrapper thr_debug.c and ldap_thr_debug.h in libldap_r/,
...
enabled with LDAP_THREAD_DEBUG (cpp macro and environment variable):
Move any ldap_pvt_* definitions from ldap_int_thread.h to ldap_pvt_thread.h.
#define ldap_int_thread_equal/ldap_pvt_thread_equal instead of tpool.c:TID_EQ.
Define some ldap_debug_*_t types, and LDAP_UINTPTR_T, in ldap_int_thread.h.
ldap_int_thread.h/ldap_pvt_thread.h can now be included multiple times, giving
different results depending on whether libldap_r/ldap_thr_debug.h was included.
Add some cleanup and some preprocessor hacks.
#define LDAP_THREAD*_IMPLEMENTATION in libldap_r/*.c, used by ldap_thr_debug.h.
Add PTHREAD_MUTEX_ERRORCHECK/PTHREAD_MUTEX_ERRORCHECK_NP in thr_posix.c.
2005-09-17 23:28:08 +00:00
Hallvard Furuseth
ad2ec8effa
More POSIX 1003.1-2001 support: Replace test -a with &&. Replace egrep
...
with $EGREP_CMD from configure. (Renamed from configure's $EGREP just
in case egrep variants exist that use the EGREP environment variable.)
2005-09-17 22:44:03 +00:00
Hallvard Furuseth
16b144c64a
Rebuild for configure.in rev 1.600 (POSIX 1003.1-2001 support)
2005-09-17 22:24:47 +00:00
Hallvard Furuseth
023d510766
Support POSIX 1003.1-2001 without XSI extensions (ITS #2667 ):
...
Do not use test -a/-o. Use shell features like &&, || or case...esac.
Use grep instead of egrep (but not the not-yet-portable Posix variant grep -E).
Based on a patch from Paul Eggert.
2005-09-17 22:22:15 +00:00
Howard Chu
61d96fa17c
Add dummy reference to librewrite to force it to link
2005-09-17 00:55:50 +00:00
Pierangelo Masarati
f8d49b01be
address ITS#4023
2005-09-16 18:12:57 +00:00
Pierangelo Masarati
b79d4bdce5
issue additional useful warning messages; may eventually turn into errors?
2005-09-16 15:00:13 +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
1c2e20527e
Silence return val warnings in prev commit
2005-09-15 02:02:27 +00:00
Howard Chu
9b641006cb
ITS#4029 Fix misplaced lines in prev commit
2005-09-15 01:22:22 +00:00
Howard Chu
37ad7614de
Add syncdata keyword, to select different sync data formats. Defaults
...
to "default", can be set to "accesslog" or "changelog". changelog is
not fully implemented yet.
2005-09-14 15:27:20 +00:00
Howard Chu
285f841bd6
Add a "nopresent" keyword to skip the present phase; for backends that are
...
only used for logging (c.f. accesslog overlay) the present phase is useless.
2005-09-14 15:25:52 +00:00
Howard Chu
5e1ab5aba3
Add CSN management
2005-09-14 15:18:48 +00:00
Howard Chu
f1ffe0076f
Zero out op2
2005-09-14 14:10:25 +00:00
Howard Chu
2babdaab9e
Add flag for only logging successful operations
2005-09-14 09:11:03 +00:00
Howard Chu
9b1d798ad2
Change slap_ad_undef_remove() to slap_ad_undef_promote().
...
AttributeDescriptions must never be freed in a running slapd.
2005-09-14 06:17:59 +00:00
Howard Chu
488cf45599
Tweak the description of continuation lines in LDIF
2005-09-14 01:13:18 +00:00
Howard Chu
fb39c24a14
Fix whitespace, remove mention of backslashes.
2005-09-14 00:55:46 +00:00
Howard Chu
aa3297aa36
More back-hdb search optimization
2005-09-13 07:55:01 +00:00
Howard Chu
2807a2596b
Simplify array operations
2005-09-13 07:51:51 +00:00
Hallvard Furuseth
a2a587c6ca
Add missing comma between Debug() args
2005-09-13 03:35:53 +00:00
Hallvard Furuseth
f9a6f7c41a
Format fixes. #include <ac/ctype.h>. Cast isspace() arg to unsigned char.
2005-09-13 03:32:19 +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
Pierangelo Masarati
52cf1f5f0a
cleanup
2005-09-10 19:20:14 +00:00