Skip to Content.
Sympa Menu

freetds - Re: checkins

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Bill Thompson" <thompbil AT exchange.uk.ml.com>
  • To: freetds AT franklin.oit.unc.edu
  • Subject: Re: checkins
  • Date: Thu, 6 Jun 2002 11:29:46 -0400


Hey James,

I think I've got to the bottom of the column widths for dates in sqsh,
when it is linked with FreeTDS.

If you do a "select getdate()", the code in sqsh (1.7) doesn't seem to use
ct_bind() to do the data conversion. Instead it decides to do the data
conversion itself, which it does by calling cs_convert(). Our
implementation of cs_convert() does not have the fancy padding/trimming
code which we have in our ct_bind() code, hence we don't properly trim the
resulting data.

I've patched in the code into cs_convert() and it now does the right
thing.

I'll have to keep track of all these fixes....

HTH

Bill








Archive powered by MHonArc 2.6.24.

Top of Page