mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix ITS#2044 duplicate search results due to broken bdb_idl_union
This commit is contained in:
parent
bdcba5ad3a
commit
1524f86778
@ -1053,7 +1053,7 @@ over: ida = IDL_MIN( BDB_IDL_FIRST(a), BDB_IDL_FIRST(b) );
|
||||
idb = NOID;
|
||||
else
|
||||
idb = b[cursorc];
|
||||
if (b[cursorb] < idb)
|
||||
if (cursorb <= b[0] && b[cursorb] < idb)
|
||||
a[cursora++] = b[cursorb++];
|
||||
else {
|
||||
a[cursora++] = idb;
|
||||
|
Loading…
Reference in New Issue
Block a user