Skip to Content.
Sympa Menu

freetds - Re: Getting closer.

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT umcc.ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Getting closer.
  • Date: Fri, 27 Aug 1999 15:14:29 -0400 (EDT)




On Fri, 27 Aug 1999, Michael Peppler wrote:

> Jaye Mathisen writes:
> >
> >
> > OK, with sqsh-1.7, my query is now returning great info. timestamp field
> > came through OK, and the floats are correct.
> >
> > DBD::Sybase doesn't like the floats though. Everything else including the
> > timestamp came through, but I'm not so sure where the problem is, if it's
> > still in the ctlib stuff, or really in DBD::Sybase.
>
> It's probably a ctlib incompatibility, or incomplete implementation.
> For CS_REAL_TYPE, CS_FLOAT_TYPE, CS_MONEY_TYPE and CS_MONEY4_TYPE I
> bind the result type to a CS_FLOAT_TYPE. So if the convert() function
> does not support the float->double conversion (for whatever reason)
> then this will likely fail. I'll take a look at the tds code.
>
> Michael
>
I see. Most of the conversion stuff is there for string->datatype and
datatype->string but not much else is. Like I said it needs work on
completeness. Still floats that had values seem to work and those that
were 0 didn't print.

I'll fix the other stuff, but I don't think that is the answer.

Brian






Archive powered by MHonArc 2.6.24.

Top of Page