Skip to Content.
Sympa Menu

freetds - Re: Status of placeholder support?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Status of placeholder support?
  • Date: Mon, 30 Jul 2001 18:35:51 -0400 (EDT)


Hi,

The initial placeholder support is TDS 5.0 only (which means Sybase
only). I'm hoping to add support for TDS 7.0 if someone sends me some
code/network traces of it.

The biggest problem is that DBD::Sybase relies on ctlib (and thus the TDS
protocol) for a description of the placeholder values, integer or
character and that sort of thing. So, it really can't be done strictly on
the client side, it needs support from the protocol. TDS 4.2 had no
placeholder support, TDS 5.0 added it, TDS 7 probably did too, but
incompatibly I'm guessing.

I've been trying to figure out how best to handle the overloading of the
ct_results and other functions to deal with placeholders in a graceful
manner. That is the biggest hold up for finishing off the TDS 5 stuff.

Hope this made sense,

Brian

On Mon, 30 Jul 2001, Steve Willer wrote:

>
> I noticed that in the latest CVS, there's some initial development of
> placeholder support. I was wondering: how far along is it, and how time do
> you think until it's usable?
>
> I've come across a sudden urgent requirement for deployment of FreeTDS,
> and given that our queries already use placeholders, having placeholders
> available would make my life so very much simpler...
>





Archive powered by MHonArc 2.6.24.

Top of Page