Re: [exim-dev] sqlite lookup support.

Top Page
Delete this message
Reply to this message
Author: David Woodhouse
Date:  
To: Jakob Hirsch
CC: exim-dev
Subject: Re: [exim-dev] sqlite lookup support.
On Tue, 2005-07-05 at 13:33 +0200, Jakob Hirsch wrote:
> Because quoting rules are different.
> And with sqlite it's tricky, because quoting depends on the quotes
> around the quote_xxx and there is no \ escaping. If you have
> '${quote_sqlite:$somethin}', every (and only!) ' has to be doubled, if
> 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_?

--
dwmw2