Closed Perlover closed 12 years ago
Thanks for the pull request! I'll have a bit more of a think about it, but my initial impression is that the tweak of simply checking for $dbh->{Active}
before returning a handle from the database()
keyword would probably be an easier and more elegant solution, and would handle any other cases where the database handle became inactive for any reason.
Closing this PR, as the other PR using the $dbh->{Active}
check is merged.
I don't test it but i think it will work make test passed Soon i will use my commit in my project If you will decide that code is OK, you can wait my own tests in real project and i will let you know result. May be you will create now a separately branch for this now? :)