number of rows affected with freetds

Daniel Bruce Lynes dlynes1 at home.com
Mon Jul 17 16:27:18 EDT 2000


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.




More information about the FreeTDS mailing list