Fix for word with several infinitives

REL8_0_STABLE
Teodor Sigaev 22 years ago
parent 3819afa759
commit 32580efafb
  1. 2
      contrib/tsearch2/query.c

@ -278,7 +278,7 @@ pushval_morph(QPRS_STATE * state, int typeval, char *strval, int lenval, int2 we
pushval_asis(state, VAL, prs.words[count].word, prs.words[count].len, weight);
pfree(prs.words[count].word);
if (count)
pushquery(state, OPR, (int4) '|', 0, 0, 0);
pushquery(state, OPR, (int4) '&', 0, 0, 0);
}
pfree(prs.words);

Loading…
Cancel
Save