Skip to content
Snippets Groups Projects
Commit f35e8d84 authored by Teodor Sigaev's avatar Teodor Sigaev
Browse files

Fix silly bug

parent ba0f38d6
No related branches found
No related tags found
No related merge requests found
......@@ -457,7 +457,7 @@ ts_stat_sql(text *txt, text *ws)
if ( ws ) {
char *buf;
buf = VARDATA(ws);
while( buf - VARDATA(ws) < VARSIZE(buf) - VARHDRSZ ) {
while( buf - VARDATA(ws) < VARSIZE(ws) - VARHDRSZ ) {
switch (tolower(*buf)) {
case 'a':
stat->weight |= 1 << 3;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment