Skip to Content.
Sympa Menu

freetds - [freetds] [ freetds-Patches-1083162 ] Allow NULL values for dbrpcparam return parameters

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "SourceForge.net" <noreply AT sourceforge.net>
  • To: noreply AT sourceforge.net
  • Cc:
  • Subject: [freetds] [ freetds-Patches-1083162 ] Allow NULL values for dbrpcparam return parameters
  • Date: Fri, 10 Dec 2004 12:29:02 -0800

Patches item #1083162, was opened at 2004-12-10 14:29
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=1083162&group_id=33106

Category: db-lib
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Adrian Daley (agd)
Assigned to: Nobody/Anonymous (nobody)
Summary: Allow NULL values for dbrpcparam return parameters

Initial Comment:
Hi,

Thanks for the great work that goes into FreeTDS.
It has been nearly seamless to start using
FreeTDS with an existing application and with some
small changes it is working well.

We're in the processing of updating an existing
application that uses the Sybase libsybdb library
to also use FreeTDS. This application has a
wrapper layer around the dblib calls. For any
stored procedure return parameters the wrapper
layer calls dbrpcparam with value=NULL, maxlen=-1
and datalen=0. The minor changes in the attached
patch update dbrpcparam to better match the Sybase
behavior and documentation.

http://sybooks.sybase.com:80/onlinebooks/group-cn/cng1251e/dblib/@Generic__BookTextView/31893;hf=0#X

With the patch applied the updated rpc.c test case
and all other dblib tests pass.

I'm new to using FreeTDS so please let me know if
these changes overlook anything.

Thank you,
Adrian Daley
Silicon Graphics

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=407808&aid=1083162&group_id=33106




Archive powered by MHonArc 2.6.24.

Top of Page