apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Darroch <chr...@pearsoncmg.com>
Subject Re: [PATCH]: Introduce APR DBD transaction mode
Date Mon, 01 May 2006 18:11:26 GMT

> Bojan's proposed patch (or some variant on it) will set transaction mode.
> How about if we add a further APR_DBD_TRANSACTION_CLEARERR flag
> (to be ORed with the mode) that'll let the application clear an error.
> Drivers could reset the application state and make any corresponding
> calls to the backend.  Would you be happy with that?

   Sounds good -- if you see an error you can handle, you clear
the transaction's error state back to "ok", and apr_dbd lets you
proceed.  Seems very reasonable to me; thanks!


GPG Key ID: 366A375B
GPG Key Fingerprint: 485E 5041 17E1 E2BB C263  E4DE C8E3 FA36 366A 375B

View raw message