[freetds] ODBC unit tests "funccall" and "transaction"

Castellano, Nicholas Nicholas_Castellano at acml.com
Fri Jan 9 17:29:23 EST 2004


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tdsdump.log
Type: application/octet-stream
Size: 20801 bytes
Desc: not available
Url : http://lists.ibiblio.org/pipermail/freetds/attachments/20040109/78ad96b1/attachment.obj 


More information about the FreeTDS mailing list