Lev Lvovsky wrote:
In testing out persistent connections while using transactions, we've
noticed that while in a loop which continuously begins and ends a
transaction, killing the persistent connection which Apache::DBI is
maintaining causes the still-running handler to report things like:
error: DBD driver has not implemented the AutoCommit attribute at
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/DBI.pm line 1668.
That's what it says when you're trying to do something to a $dbh that is
not connected. Why are you killing the connection during a transaction?
What are you trying to do?
In the case that this happens, is there any way other than restarting
the apache process to correct this issue (simply setting AutoCommit to 1
doesn't work as it's a tie'd variable).
You need to connect to a database before it will work again.
- Perrin