22 Jan
2006
22 Jan
'06
5:52 p.m.
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.