Re: [exim-dev] sqlite lookup support.

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jakob Hirsch
Päiväys:  
Vastaanottaja: exim-dev
Aihe: Re: [exim-dev] sqlite lookup support.
David Woodhouse wrote:

>>you used "...", every ". As the quote function does not know what is
>>around it, there should be a warning in the spec to use only single
>>quotes and quote_sqlite only handle them.
> Surely the warning should be not to quote it yourself at all -- isn't
> that what you'd be using the quote_sqlite function _for_?


No, you still need a quoting character around it, like
... WHERE name='${quote_mysql:bla"blub'}'
Doing this differently with a quote_sqlite operator would be
inconsistent and even more confusing, I think. But at least people would
notice the difference immediatly, because it would not work at all.