[CDBI] Is standard idiom for transactions really safe?

Perrin Harkins perrin at elem.com
Thu Mar 2 19:50:58 GMT 2006

On Thu, 2006-03-02 at 10:59 -0800, Ryan Tate wrote:
> Like database servers randomly disconnecting in the middle of the
> transaction. In this case under the existing idiom, the original
> transaction would be aborted, but the remaining half of the
> transaction would proceed, defeating the whole point of having a
> transaction there and possibly corrupting the data model. Do I
> misunderstand?

No, that's correct.  If you're worried about it, see my suggestions in
the other mail about how to modify the connection handling to avoid this

- Perrin

More information about the ClassDBI mailing list