Ron, > > > Jeff > > I'm working thru the tests, and have some problems. > > Environment: > OS: Win2K > Perl 5.8.0 > DBI 1.30 > DBD::ODBC 1.01 > MyODBC 3.51.04 > MySQL 3.23.51 > > Problem (1 of several, for the moment): > t\03dbatt........1..16 > ok 1 > ok 2 > ok 3 > ok 4 > ok 5 > ok 6 > not ok 7 > ok 8 > ok 9 > ok 10 > ok 11 > ok 12 > ok 13 > ok 14 > ok 15 > ok 16 > FAILED test 7 > Failed 1/16 tests, 93.75% okay > > I notice in 03dbatt.t, lines 37 .. 39 look like this (note the == 1): > > $rc = commitTest($dbh); > print " ", $DBI->errstr, "" if ($rc < 0); > Test($rc == 1); # print "not " unless ($rc == 1); > > whereas lines 46 .. 49 look like this (note the == 0): > > $rc = commitTest($dbh); > print $DBI->errstr, "\n" if ($rc < 0); > Test($rc == 0); > > And sub commitTest returns 1 at line 134 when it works. > > I take it line 49 is wrong?
Nope. Line 49 is right. It looks like the MyODBC driver doesn't handle the AutoCommit attribute or is always in the AutoCommit mode. Can you set DBI_TRACE=8 and capture the output of the trace file for me please? Thanks, Jeff
