On Thu, 2003-10-16 at 10:15, Matthew T. O'Connor wrote: > On Thu, 2003-10-16 at 09:57, Chris Mason wrote: > > Ok, here's a patch for dbmail 1.2 cvs that implements the transaction > > begin/commit for mysql during pipe.c:insert_messages, and the imap > > copy/append message commands. > > Great, dbmail should be using transactions, why use a database if you > don't use transactions. >
indexing ;-) Before dbmail can really use transactions, it need to be able to detect if a given table/database supports them. I'm guessing mysql has some method for this, but haven't checked. Mostly the patch needs to be fit into dbmail-2.0. It's a proof of concept for benchmarking and discussion, since I don't have much time to experiment with the unstable tree. dbmail is pretty good, but there's still lots of room for performance improvement. Reading through the archives, people know this already, it's just a matter of time as they get through the feature list ;-) -chris