Fix silly bug
This commit is contained in:
parent
ba0f38d601
commit
f35e8d8431
@ -457,7 +457,7 @@ ts_stat_sql(text *txt, text *ws)
|
|||||||
if ( ws ) {
|
if ( ws ) {
|
||||||
char *buf;
|
char *buf;
|
||||||
buf = VARDATA(ws);
|
buf = VARDATA(ws);
|
||||||
while( buf - VARDATA(ws) < VARSIZE(buf) - VARHDRSZ ) {
|
while( buf - VARDATA(ws) < VARSIZE(ws) - VARHDRSZ ) {
|
||||||
switch (tolower(*buf)) {
|
switch (tolower(*buf)) {
|
||||||
case 'a':
|
case 'a':
|
||||||
stat->weight |= 1 << 3;
|
stat->weight |= 1 << 3;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user