[Dovecot] Unused SQL API

Curtis Maloney cmaloney at cardgate.net
Mon Nov 28 22:47:23 EET 2005


Greetings,
	recently I've been writing a database driver module for Dovecot to use SQLite. 
  It's mostly for my own use, but I do recall other people have asked for this.

	Firstly - Timo, I grow to love your work more and more every day. :)  I have 
not had any trouble figuring out what is needed of the driver, even without any 
API documentation.

	However, the one part of the driver that's given me pause has turned out to 
most likely be unnecessary.  Whilst I was trying to work out how to deal with 
the sql_result->get_values() call without leaking memory, it seemed an odd 
method to have along side the other calls.

	So I decided to look for where it was used, to try to understand.

	Only, it isn't.  The _only_ point I can find in the sources that calls that 
method is in the Postgress SQL driver.

	Am I missing something?

--
Curtis Maloney
cmaloney at cardgate.net



More information about the dovecot mailing list