Re: [HACKERS] Bug in LIKE ?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Bug in LIKE ?
Дата
Msg-id 199906071428.KAA05028@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Bug in LIKE ?  (The Hermit Hacker <scrappy@hub.org>)
Список pgsql-hackers
> >                  if (n->val.val.str[pos] == '\\' ||
> >                      n->val.val.str[pos] == '%')
> >                     pos++;
> > 
> > where 6.5 has:
> > 
> >                  if (n->val.val.str[pos] == '\\' ||
> >                      n->val.val.str[pos+1] == '%')
> >                     pos++;
> > 
> > The first one is right and the second is not.
> > 
> > Unless we fix this, LIKE will be completely busted for any string
> > containing non-leading %.  Shall I ... ?
> 
> Please do...looking through the logs, any idea who changed this one? *gets
> out billy club* *grin*

Me, but months ago.  Put down the club...

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Bug in LIKE ?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Open 6.5 items