[Dovecot] sqlite patch

Jakob Hirsch jh at plonk.de
Sun Jan 22 17:52:59 EET 2006


Timo Sirainen wrote:

>> http://plonk.de/sw/dovecot/dovecot.sqlite.4.diff
>> It uses sqlite3 and is not heavily tested, but it works quite fine here.
> Committed. I did some minor indentation changes etc. to make it
> consistent with rest of Dovecot's code.

Err, yes, afterwards I saw it was a little messed. Must have been my
editor. :)

> Also there was this one pzTail variable name which I didn't like :) So
> looking at what I could replace it with, it seemed that it wasn't really
> needed at all and instead could be passed as NULL to sqlite3_prepare().
> So, tell me if it breaks it :)

It's for multiple statements, so it's surely not needed by the driver,
but I was not sure if sqlite itself doesn't need it.
Seems to be ok, though.




More information about the dovecot mailing list