Re: [PATCH]: Introduce apr_dbd_transaction_rollback

2006-04-29 Thread Chris Darroch
Bojan: By far the most important piece of software that uses APR 1.2.x is Apache 2.2 and associated modules. An upgrade of APR to 2.x there would most likely require an MMN bump. I'm not sure if Apache development policies permit this any more mid minor version. However, using APR 1.3.x,

Brigades and Buckets to file-descriptors

2006-04-29 Thread Colm MacCarthaigh
I'm currently playing with the new linux splice() and tee() system calls, to see what - if any - performance boost they give me. Right now I'm just hacking in a replacement to httpd's core output filter which is messy, I'd like to add what I'm doing to APR. I'd like to add a call that will

Re: [PATCH]: Introduce apr_dbd_transaction_rollback

2006-04-29 Thread Bojan Smojver
On Sat, 2006-04-29 at 10:02 -0400, Chris Darroch wrote: Otherwise, a nested function that wants to force a rollback has to either do so, and then signal to all the callers that the transaction is dead (and they then have to handle that condition), or it has to set some internal application

Re: [PATCH]: SQLite3 prepared statement support

2006-04-29 Thread Bojan Smojver
I reworked the prepared statement support for SQLite3 a little bit (the linking of statements to the handle didn't really work in the original patches and there was some unnecessary memory allocation as well). If nobody objects, I would like to commit this to the trunk in the next few days. Not

Re: [PATCH]: Introduce apr_dbd_transaction_rollback

2006-04-29 Thread Bojan Smojver
On Sat, 2006-04-29 at 10:02 -0400, Chris Darroch wrote: #define APR_DBD_TRANS_COMMIT_ON_SUCCESS 0 #define APR_DBD_TRANS_COMMIT 1 #define APR_DBD_TRANS_ROLLBACK2 #define APR_DBD_TRANS_DEFAULT APR_DBD_TRANS_COMMIT_ON_SUCCESS OK, I started working on this