mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-03 08:00:21 +08:00
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 ) {
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user