FTS5 min_word_size patch small error

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FTS5 min_word_size patch small error

Domingo Alvarez Duarte
Hello !

On my last post about a patch to fts5 to add an option "min_word_size"
there is a small mistake on the comparison:

Original with mistake:

if(p->nMinWordSize && p->nMinWordSize >= wsz) continue;

New with mistake fixed (it should be ">" instead of ">="):

if(p->nMinWordSize && p->nMinWordSize > wsz) continue;


Cheers !

_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users