Skip to Content.
Sympa Menu

freetds - DBD-Sybase: Re: number of rows affected with freetds

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Edmund Mergl <E.Mergl AT bawue.de>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>, DBI Users Mailing List <dbi-users AT isc.org>
  • Cc: bkline AT rksystems.com, dlynes1 AT home.com
  • Subject: DBD-Sybase: Re: number of rows affected with freetds
  • Date: Mon, 17 Jul 2000 20:16:39 +0200


Bob Kline wrote:
>
> On Mon, 17 Jul 2000, Daniel Bruce Lynes wrote:
>
> > On Sun, 16 Jul 2000, Edmund Mergl wrote:
> >
> > > it looks like freetds does not handle the number of rows affected
> > > by the SQL-statement, eg:
> > >
> > > DBD-Sybase + sybase-libs + sybase-11.9.2 on linux
> > >
> > > successful insert ret = 1
> > > insert with error ret = undef
> > >
> > > successful update ret = 1
> > > update with record not found ret = 0E0
> > > update with error ret = undef
> > >
> > > DBD-Sybase + freetds + sybase-11.9.2 on linux
> > >
> > > successful insert ret = -1
> > > insert with error ret = undef
> > >
> > > successful update ret = -1
> > > update with record not found ret = -1
> > > update with error ret = undef
> > >
> > >
> > > is this a general problem or can this be fixed ?
> >
> > From the work I've done with the ODBC library using the same Sybase
> > database under Linux, it seems to work fine. Perhaps it's a bug in
> > DBD? The ODBC driver also uses the freetds libraries.
>
> It would need to be a pretty subtle bug in DBD, I should think, given
> the fact that it works properly when linked with Sybase's libraries
> (assuming he's using the same version of DBD-Sybase in both cases).
>
> --
> Bob Kline
> mailto:bkline AT rksystems.com
> http://www.rksystems.com


well I thought when only changing the driver lib (freetds -> sybase)
and the problem disappears, the faulty part must be freetds, but I might
be wrong.

May be someone from the DBI list can comment on this ?


Edmund


--
Edmund Mergl
mailto:E.Mergl AT bawue.de
http://www.edmund-mergl.de
fon: +49 700 EDEMERGL




Archive powered by MHonArc 2.6.24.

Top of Page