-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160
> $dbh->{AutoCommit}=1;
> $dbh->do("BEGIN");
> my $oid=$dbh->func($file, 'lo_import');
> # other things...
> $dbh->do("ROLLBACK");
Good point, I fixed the code to handle AutoCommit in the proper way.
Note that you really should be using $dbh->begin_work() and
$dbh->rollback() instead of callng do() in this circumstance.
- --
Greg Sabino Mullane [email protected]
End Point Corporation
PGP Key: 0x14964AC8 200903222215
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----
iEYEAREDAAYFAknG8N8ACgkQvJuQZxSWSsgMLACfZuWjUxjlJuyryvMPwLlsDNjz
ofYAnRBfTe58LAr3zRJfU13ytXMzf9hL
=9oGb
-----END PGP SIGNATURE-----