mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-13 14:27:59 +08:00
ITS#8146 tweak prev commit
Test less likely condition first
This commit is contained in:
parent
1e768c1cda
commit
4f05e3d966
@ -211,7 +211,7 @@ mdb_filter_candidates(
|
||||
/* Must not return NULL, otherwise extended filters break */
|
||||
MDB_IDL_ALL( ids );
|
||||
}
|
||||
if ( MDB_IDL_IS_RANGE( ids ) && ids[2] == NOID ) {
|
||||
if ( ids[2] == NOID && MDB_IDL_IS_RANGE( ids )) {
|
||||
struct mdb_info *mdb = (struct mdb_info *) op->o_bd->be_private;
|
||||
ID last;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user