-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> All I'm proposing to change is to add a way for drivers to indicate
> if they are in a transaction or not, and then to use that to disable
> the warning.
That what I was thinking about. Since DBD::Pg already tracks whether
or not it is in a transaction, it should be simply a matter of:
if (!DBIc_has(imp_dbh,DBIcf_AutoCommit) && imp_dbh->done_begin) {
if (DBIc_WARN(imp_dbh) && (!dirty || DBIc_DBISTATE(imp_dbh)->debug >= 3))
warn("Issuing rollback() for database handle...
- --
Greg Sabino Mullane [EMAIL PROTECTED]
PGP Key: 0x14964AC8 200402121918
-----BEGIN PGP SIGNATURE-----
iD8DBQFALBhYvJuQZxSWSsgRAuLcAKDsBkuFK37pKtMrNy/fQnBRafek+wCfVK0p
s2ysyGHV8jEtHTFibv5ttQ8=
=t993
-----END PGP SIGNATURE------ Re: getting rid of the "Issuing rollback()" ... Andrew Pimlott
- Re: getting rid of the "Issuing rollback()&q... Tim Bunce
- Re: getting rid of the "Issuing rollback... Henri Asseily
- Re: getting rid of the "Issuing roll... Tim Bunce
- RE: getting rid of the "Issuing rollback... Jeff Holt
- Re: getting rid of the "Issuing roll... Andrew Pimlott
- RE: getting rid of the "Issuing ... Jeff Holt
- Re: getting rid of the "Issuing ... Tim Bunce
- Re: getting rid of the "Issuing ... Bart Lateur
- Re: getting rid of the "Issuing ... Henri Asseily
- Re: getting rid of the "Issuing ... Greg Sabino Mullane
- Re: getting rid of the "Issuing rollback... Andrew Pimlott
- Re: getting rid of the "Issuing rollback()&q... Jared Still
- Re: getting rid of the "Issuing rollback()" ... Tim Bunce
- Re: getting rid of the "Issuing rollback()&q... Dean Arnold
- Re: getting rid of the "Issuing rollback... Tim Bunce
- RE: getting rid of the "Issuing roll... Jay Hannah
- Re: getting rid of the "Issuing ... Andrew Pimlott
- RE: getting rid of the "Issuing ... Jay Hannah
- Re: getting rid of the "Issuing ... Tim Bunce
- RE: getting rid of the "Issuing ... Jay Hannah
