Skip to Content.
Sympa Menu

freetds - RE: [freetds] ODBC unit tests "funccall" and "transaction"

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Castellano, Nicholas" <Nicholas_Castellano AT acml.com>
  • To: 'FreeTDS Development Group' <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] ODBC unit tests "funccall" and "transaction"
  • Date: Fri, 9 Jan 2004 17:29:23 -0500


> From: Frediano Ziglio [mailto:freddyz77 AT 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.

Attachment: tdsdump.log
Description: Binary data




Archive powered by MHonArc 2.6.24.

Top of Page