[Phoenix-pm] PERL DBI

Brock awwaiid at thelackthereof.org
Mon Mar 13 14:19:25 PST 2006


Whats the point of BEGIN? Nested transactions or something? Other than
that (which I don't run into often...) BEGIN is redundant :)

--Brock

On 2006.03.13.22.18, Scott Walters wrote:
| Hi Peter,
| 
| Reading through a bit, your repeated question of whether autoinsert is on
| hasn't been answered.  The rest of you on this list, except Andrew,
| Brock, and Michael, suck.  I don't know the exact version or the version
| of DBI you're using, but newer versions do indeed turn it in by default.
| You can turn it off in the connect string...
| 
|   DBI->connect(mush, username, pass, { AutoCommit => 0 });
| 
| Then BEGIN and COMMIT as you please.  
| 
| Cheers,
| -scott


More information about the Phoenix-pm mailing list