mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-06 06:59:54 -05:00
Fix ITS#2044 duplicate search results due to broken bdb_idl_union
This commit is contained in:
parent
bdcba5ad3a
commit
1524f86778
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue