Jeff Urlwin wrote:
That's probably the best thing, but there are probably more places... After reviewing the
code, I think I don't like the duplication of the henv -- but the short term patch is
whenever you see a SQLFreeEnv, also set the imp_dbh->henv to SQL_NULL_ENV. Sorry I
haven't looked at better than that, but that resolves it for me.
I've patched my svn copy and committed. I've also patched my t\05meth.t to add your tests. Can you use the svn source to test?
Yes, and it works:
D:\prj\DBD-ODBC\trunk>perl -w -Mblib t\05meth.t Using D:/prj/DBD-ODBC/trunk/blib 1..13 ok 1 - use DBI; ok 2 - delete prepared statement ok 3 - Number of rows > 0 ok 4 - Number of rows from DBI matches sth ok 5 - finished and rolled back ok 6 - no error ok 7 - ? ok 8 - ?? ok 9 - Active ok 10 - ping ok 11 - disconnect ok 12 - Active ok 13 - ping
Steffen