in reply to DBD Sybase Transaction begin_work fails
I think you need to decide if you want your transactions automatically committed or whether you are going to do it. i.e., leave AutoCommit as it is by default and start your transactions specifically with begin_work or disable AutoCommit and commit all transactions. You probably want the former as a) it allows you to control better where you specifically want transactions and b) some databases need commits in places you might be surprised - e.g., after a select.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBD Sybase Transaction begin_work fails
by vcoderv (Initiate) on Sep 15, 2009 at 16:55 UTC |