Commit Graph

20229 Commits

Author SHA1 Message Date
Ondrej Kuznik
122faa5bd9 (ITS#6987) Consider only same attribute siblings for Cft_misc.
For all other ce_types it holds that each is represented by one
attribute, making ce_type matching for X-ORDERED siblings equivalent to
how back-ldif handles them. Cft_misc is means "all other types", however
no overlay/backend so far has used different attributes as siblings,
triggering the difference in handling between bconfig.c and back-ldif.
2012-03-27 01:53:30 -07:00
Howard Chu
5fcc9285fb Merge remote branch 'origin/mdb.master' 2012-03-26 06:59:41 -07:00
Howard Chu
8a4981d8aa ITS#7213 fix page_split with MDB_APPEND
don't skip the cursor adjust checks
2012-03-26 06:58:16 -07:00
Howard Chu
dcf94e25f5 ITS#7207 check for ld->ld_defconn 2012-03-26 03:35:31 -07:00
Howard Chu
4433b1b8d5 ITS#7205 fix check for existing suffix 2012-03-26 03:35:23 -07:00
Howard Chu
25e8e82c5f Update overflow page count when freeing overflow page 2012-03-20 17:14:59 -07:00
Hallvard Furuseth
af3a23a1ec ITS#7204 Fix test044-dynlist for --disable-monitor
test044-dynlist uses olcDatabase={2}$BACKEND,cn=config.
This breaks when back-monitor is omitted as database {1}.
2012-03-09 22:17:33 +01:00
Howard Chu
93d3a4104a ITS#7200 fix regression in b4d403ea31 2012-03-09 13:10:58 -08:00
Howard Chu
9b21d585dc Merge remote branch 'origin/mdb.master' 2012-03-09 12:48:57 -08:00
Howard Chu
8c452e3272 ITS#7203 approxIndexer should omit zero-length keys 2012-03-09 12:47:49 -08:00
Hallvard Furuseth
c7da506dd2 Fix MDB_txninfo.mt2 padding on Windows/Apple 2012-03-09 19:30:34 +01:00
Hallvard Furuseth
c7fe1f466e Tweak mdb comment with conflicting spec of 'ID' 2012-03-09 19:25:44 +01:00
Hallvard Furuseth
5c182fbedf Fix valgrind call after malloc failure in mdb.
Also line up the code logic a bit.
2012-03-09 19:22:31 +01:00
Hallvard Furuseth
d3b9939e71 Clean up MAP_FAILED handling in mdb.
Delay (MDB_txninfo*) cast to after comparing mmap() with MAP_FAILED.
Otherwise, if MAP_FAILED = (void*)-1 but MDB_txninfo requires stricter
alignment, the compiler could assume the result is never MAP_FAILED.

Also store NULL in env->(me_map, me_txns) after mmap failure.
2012-03-09 19:06:04 +01:00
Hallvard Furuseth
2baadabdff ITS#7191 Align dirty MDB pages on the stack 2012-03-09 18:45:39 +01:00
Howard Chu
47e57a9c8f ITS#7191 fix typo, more alignment tweaks 2012-03-08 21:39:31 -08:00
Howard Chu
cfa8dd6884 Merge remote branch 'origin/mdb.master' 2012-03-08 21:39:01 -08:00
Howard Chu
15f3e650da ITS#7191 more alignment tweaks
Revealed when gcc optimization is enabled
2012-03-08 21:28:24 -08:00
Howard Chu
bb921063e0 ITS#7194 fix IPv6 URL detection 2012-03-08 19:35:44 -08:00
Howard Chu
348be30259 ITS#7188 fix formatting 2012-03-08 19:29:30 -08:00
Howard Chu
6143aa0c18 ITS#7201 fix config flags 2012-03-08 19:27:20 -08:00
Howard Chu
b4d403ea31 ITS#7200 enforce check for matching serverID URL 2012-03-08 19:24:09 -08:00
Howard Chu
3743a5a68e Merge remote branch 'origin/mdb.master' 2012-03-06 22:56:29 -08:00
Howard Chu
2ccf0d58b2 Fix typo in 7bc62c5128 2012-03-06 22:55:53 -08:00
Howard Chu
5ce2a2aee6 Merge remote branch 'origin/mdb.master' 2012-03-06 22:17:19 -08:00
Howard Chu
d0bcaee0f3 ITS#7190 don't crash in slapcat on NULL entry 2012-03-06 22:15:51 -08:00
Howard Chu
7bc62c5128 ITS#7190 fix merging of branch pages in deletes 2012-03-06 22:12:21 -08:00
Hallvard Furuseth
d50d57ed63 Fix libmdb comments 2012-03-03 09:58:05 +01:00
Hallvard Furuseth
e1b88d93ac Remove development file libmdb/make.sh 2012-03-03 09:52:33 +01:00
Hallvard Furuseth
d8b4598085 ITS#7191 Fix mdb_xcursor_init1() unaligned access 2012-03-03 09:49:20 +01:00
Howard Chu
9547dd7a0d Merge remote branch 'origin/mdb.master' 2012-03-02 17:28:51 -08:00
Howard Chu
1b07b48c1a ITS#7196 use IOV_MAX if it's defined and small 2012-03-02 17:26:49 -08:00
Howard Chu
6ab4d830cb ITS#7195 add NotAllowedOnNonleaf to deltasync fallback errors 2012-03-02 14:12:41 -08:00
Howard Chu
de7f6d38fa ITS#7115 add missing pool_idle/unidle stubs 2012-02-27 20:42:29 -08:00
Howard Chu
c4325af7e0 ITS#7180 fix mdb_entry_get when mdb_entry_next was not called 2012-02-24 15:20:17 -08:00
Howard Chu
fd978ebe9d ITS#7177 make manpages more consistent 2012-02-23 16:57:48 -08:00
Jan Vcelak
4685391f8f ITS#7177 doc updates, further cleanup needed 2012-02-23 15:49:13 -08:00
SATOH Fumiyasu
1542d29a99 ITS#7152 Add missing '>' in tools help message 2012-02-23 14:48:32 -08:00
SATOH Fumiyasu
35ee3c1bba ITS#7152 Add -o option to ldap*.1 man pages 2012-02-23 14:48:17 -08:00
Howard Chu
9b9f4984f0 More for ITS#7170 2012-02-23 12:08:53 -08:00
Howard Chu
3792e9ec59 ITS#7178 fix uninit'd op->ors_deref 2012-02-23 01:16:39 -08:00
Howard Chu
c4d78a17c3 ITS#7170 fix Quick mode index generation 2012-02-22 16:01:59 -08:00
Howard Chu
aa33f4b220 Merge remote branch 'origin/mdb.master' 2012-02-21 11:52:44 -08:00
Howard Chu
b23bb7a0b1 ITS#7160 get BYTE_ORDER def for HPUX (and Solaris) 2012-02-21 11:52:01 -08:00
Howard Chu
164e738878 ITS#7176 fix slapindex -q -t 2012-02-20 17:04:24 -08:00
Howard Chu
33f6bc4fe6 ITS#7167 only poll sockets for write as needed 2012-02-20 14:51:30 -08:00
Howard Chu
92ed65d298 ITS#7174 lutil_str2bin: can't modify input strings 2012-02-19 18:10:16 -08:00
David M. Syzdek
0df3b9222a ITS#7173 Fixing prototype of function in manpage to match prototype in C header.
The prototype for ldap_modify_ext() in the C header file declares
    msgidp as "int *", however the current manpage declares msgidp as
    "int **". This patch updates the manpage to accurately reflect the
    C header.

Signed-off-by: David M. Syzdek <syzdek@bindlebinaries.com>
2012-02-18 15:41:37 -08:00
Hallvard Furuseth
465942e74d ITS#7160 Support POSIX make: No $< in target rules 2012-02-18 18:17:40 +01:00
Howard Chu
463c1fa25d ITS#7143 fix attr_dup2 when no values are present (attrsOnly = TRUE) 2012-02-14 17:29:14 -08:00