Skip to Content.
Sympa Menu

freetds - [freetds] Re: Transactions errors with DBD-Sybase-1.05

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "David Barnwell" <david.barnwell AT well.ox.ac.uk>
  • To: "Michael Peppler" <mpeppler AT peppler.org>
  • Cc: sybperl-l AT peppler.org, FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: [freetds] Re: Transactions errors with DBD-Sybase-1.05
  • Date: Wed, 23 Mar 2005 13:45:25 -0000

Hi Michael,

Thanks for your mail.

> Why do you call finish() here?

I tried it without the $sth->finish. I now get a similar error with
DBD-Sybase-1.04, but this time the commit fails rather than the execute, and
the rollback is successful. To summarise:

with the $sth->finish statement:
DBD-Sybase-1.04 OK
DBD-Sybase-1.05 execute fails, rollback fails silently.

without the $sth->finish statement:
DBD-Sybase-1.04 commit fails, rollback succeeds
DBD-Sybase-1.05 execute fails, rollback fails silently

I also tested DBD-Sybase-1.04 with FreeTDS 0.62.1. The results are the same
as DBD-Sybase-1.04 with FreeTDS 0.63RC10.

I've added DBI->trace(5) and put the output from all these combinations at
http://www.well.ox.ac.uk/~barnwell/tests_2005-03-23/

Thanks,
David Barnwell





Archive powered by MHonArc 2.6.24.

Top of Page