From: Alex Coyte Date: Tue, 17 May 2016 05:05:42 +0000 (+1000) Subject: UE-2963: be more aggressive in using buildSufPQ_final() X-Git-Tag: v4.3.0^2~161 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afd378b09ecbce7f7526271852ae94cbf7a297c8;p=thirdparty%2Fvectorscan.git UE-2963: be more aggressive in using buildSufPQ_final() --- diff --git a/src/rose/catchup.c b/src/rose/catchup.c index 2460f086..c61079a8 100644 --- a/src/rose/catchup.c +++ b/src/rose/catchup.c @@ -787,7 +787,7 @@ hwlmcb_rv_t buildSufPQ(const struct RoseEngine *t, char *state, s64a safe_loc, = scratch->catchup_pq.qm_size ? pq_top_loc(&scratch->catchup_pq) : safe_loc; second_place_loc = MIN(second_place_loc, safe_loc); - if (n_qi == MMB_INVALID && report_ok_loc < second_place_loc) { + if (n_qi == MMB_INVALID && report_ok_loc <= second_place_loc) { if (buildSufPQ_final(t, report_ok_loc, second_place_loc, final_loc, scratch, aa, a_qi) == HWLM_TERMINATE_MATCHING) {