[freetds] ODBC unittests
Thompson, Bill D (London)
bill_d_thompson at ml.com
Thu Jun 24 04:36:27 EDT 2004
Freddy,
> Which DM version are you using ?
unixODBC 2.2.2
Bill
> -----Original Message-----
> From: freddyz77 at tin.it [SMTP:freddyz77 at tin.it]
> Sent: 24 June 2004 08:05
> To: FreeTDS Development Group
> Subject: RE: [freetds] ODBC unittests
>
> >
> >Hi (particularly Freddy)
> >
> >I'm testing some new functionality I've finished.
> >
> >All my odbc unittests pass apart from these :
> >
> >odbctest
> >--------
> >
> >connection parameters:
> >...
> >create table #test_output (id int, msg text)
> >failed: num:2 ident:2 sqlreturn:-1
> >
> >FAIL: convert_error
> >
>
> Yes, this is expected using mssql (it do not occur on Sybase).
>
> >
> >and
> >
> >odbctest
> >--------
> >
> >connection parameters:
> >....
> >DROP TABLE TestTransaction
> >CREATE TABLE TestTransaction ( value INT )
> >DROP PROCEDURE testinsert
> >CREATE PROCEDURE testinsert @value INT AS
> >INSERT INTO TestTransaction VALUES ( @value )
> >SELECT * FROM TestTransaction
> >
> >DROP PROCEDURE testerror
> >CREATE PROCEDURE testerror AS
> >SELECT value FROM TestTransaction
> >SELECT value / (value-value) FROM TestTransaction
> >
> >EXEC testinsert 1
> >EXEC testinsert 2
> >EXEC testerror
> >transaction.c:105 error: SQLExecDirect: testerror
> >SQL error 24000 -- [unixODBC][Driver Manager]Invalid cursor state
> >FAIL: transaction
> >
>
> Not expected however it can be a problem with DM version. I'm testing
> current
> CVS with some platforms using Sourceforge Compile Farm however there seems
> to be some issues regard multiple recordset (early versions of both iODBC
> and unixODBC fails to reset cursor state returning error instead of
> success).
> Which DM version are you using ?
>
> >
> >Are these in a broken state already, or have I broken them....?
> >
>
> bye
> freddy77
>
>
> _______________________________________________
> FreeTDS mailing list
> FreeTDS at lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/freetds
==============================================================================
If you are not an intended recipient of this e-mail, please notify
the sender, delete it and do not read, act upon, print, disclose,
copy, retain or redistribute it.
Click here for important additional terms relating to this e-mail.
<http://www.ml.com/email_terms/>
==============================================================================
More information about the FreeTDS
mailing list