Commit 122afcff authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#8146 tweak prev commit

Test less likely condition first
parent 0cc9993e
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment