[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetds
Subject:    RE: [freetds] ODBC unit tests "funccall" and "transaction"
From:       "Castellano, Nicholas" <Nicholas_Castellano () acml ! com>
Date:       2004-01-09 22:29:23
Message-ID: 04C5B956C56BE144A4A1BFA26732E549BC9658 () ac2knjs0106 ! ac ! lp ! acml ! com
[Download RAW message or body]

> From: Frediano Ziglio [mailto:freddyz77@tin.it] 
> Sent: Friday, January 09, 2004 3:57 PM
> 
> However funccall is expected to work !!! I put a
> SQLCloseCursor(Statement) after "drop proc simpleresult2", 
> this should be the problem (it seems there is already a 
> simpleresult2 procedure, perhaps a previous test)...

I installed unixODBC-2.2.6 and updated my source to get your simpleresult2
change.  The funccall test still fails.  All the other test were successful
though, so we're getting closer.  Any more ideas what might be going wrong
with funccall?  I think the statement it is unable to execute may actually
be later than the last one displayed below (there are a few places where it
can print "Unable to execute statement", perhaps some different messages
would be useful?)

bash-2.05$ export TDSDUMP=tdsdump.log
bash-2.05$ ./funccall
odbctest
--------

connection parameters:
server:   'mtreports'
user:     'scbdp'
password: '????'
database: 'reportdb'
use reportdb
drop proc simpleresult
Unable to execute statement
create proc simpleresult @i int as begin return @i end
DECLARE @i INT
drop proc simpleresult
drop proc simpleresult2
create proc simpleresult2 @i int, @x int output, @y varchar(20) output as
begin select @x = 6789 select @y = 'test foo' return @i end
Unable to execute statement

-----------------------------------------
The information contained in this transmission may contain privileged and \
confidential information and is intended only for the use of the person(s) named \
above. If you are not the intended recipient, or an employee or agent responsible for \
delivering this message to the intended recipient, any review, dissemination, \
distribution or duplication of this communication is strictly prohibited. If you are \
not the intended recipient, please contact the sender immediately by reply e-mail and \
destroy all copies of the original message. Please note that we do not accept account \
orders and/or instructions by e-mail, and therefore will not be responsible for \
carrying out such orders and/or instructions.


["tdsdump.log" (application/octet-stream)]

_______________________________________________
FreeTDS mailing list
FreeTDS@lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic