Skip to Content.
Sympa Menu

freetds - DBD::Sybase 0.94

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Michael Peppler <mpeppler AT peppler.org>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: DBD::Sybase 0.94
  • Date: Fri, 14 Dec 2001 10:14:05 -0800


Hi,

The following patch is needed for ct.c for DBD::Sybase to build and
(mostly) run.

Index: ct.c
===================================================================
RCS file: /cvsroot/freetds/freetds/src/ctlib/ct.c,v
retrieving revision 1.10
diff -c -r1.10 ct.c
*** ct.c 2001/12/13 15:15:06 1.10
--- ct.c 2001/12/14 18:10:49
***************
*** 915,920 ****
--- 915,930 ----
tdsdump_log(TDS_DBG_FUNC, "%L inside ct_get_data()\n");
return CS_SUCCEED;
}
+ CS_RETCODE ct_send_data(CS_COMMAND *cmd, CS_VOID *buffer, CS_INT buflen)
+ {
+ tdsdump_log(TDS_DBG_FUNC, "%L inside ct_send_data()\n");
+ return CS_SUCCEED;
+ }
+ CS_RETCODE ct_data_info(CS_COMMAND *cmd, CS_INT action, CS_INT colnum,
CS_IODESC *iodesc)
+ {
+ tdsdump_log(TDS_DBG_FUNC, "%L inside ct_data_info()\n");
+ return CS_SUCCEED;
+ }
CS_RETCODE ct_capability(CS_CONNECTION *con, CS_INT action, CS_INT type,
CS_INT capability, CS_VOID *value)
{
TDSLOGIN *login;


However, make test still fails in numerous places, but that's to be
expected, as FreeTDS doesn't support setting options via the
ct_options() call, doesn't support placeholders (yet), doesn't support
RPC calls, and doesn't support BLOB read/write via the
ct_get/send_data().

Michael
--
Michael Peppler - Data Migrations Inc. - http://www.mbay.net/~mpeppler
mpeppler AT peppler.org - mpeppler AT mbay.net
International Sybase User Group - http://www.isug.com



  • DBD::Sybase 0.94, Michael Peppler, 12/14/2001

Archive powered by MHonArc 2.6.24.

Top of Page