summaryrefslogtreecommitdiff
path: root/src/tutorial/complex.c
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2008-03-07 14:30:20 +0000
committerTeodor Sigaev <teodor@sigaev.ru>2008-03-07 14:30:20 +0000
commit3b8bca335d3f86e74aae7923164877a694b5049a (patch)
treea4388f3cd82cb657777cd08721f8c865738c3a1e /src/tutorial/complex.c
parent588d213a929164e25d8a4fcf146a88e0edc173ae (diff)
Fix memory arrangement of tsquery after removing stop words. It causes
a unused memory holes in tsquery. Per report by Richard Huxton <dev@archonet.com>. It was working well because in fact tsquery->size is not used for any kind of operation except comparing tsqueries. So, in HEAD it's enough to fix to_tsquery function, but for previous version it's needed to remove optimization in CompareTSQ to prevent requirement of renew all stored tsquery.
Diffstat (limited to 'src/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions