Re: [exim-dev] sqlite lookup support.

Pàgina inicial
Delete this message
Reply to this message
Autor: Jakob Hirsch
Data:  
A: exim-dev
Assumpte: 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.