Skip to Content.
Sympa Menu

freetds - [freetds] ODBC unittests

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Thompson, Bill D (London)" <bill_d_thompson AT ml.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: [freetds] ODBC unittests
  • Date: Tue, 22 Jun 2004 17:08:22 +0100

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


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


Are these in a broken state already, or have I broken them....?


regards,
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Bill Thompson
GMI Technology
Merrill Lynch Europe

+44 207 995 8307

For very important information relating to this e-mail please click on this
link: http://www.ml.com/legal_info.htm



==============================================================================

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/>

==============================================================================





Archive powered by MHonArc 2.6.24.

Top of Page