Skip to Content.
Sympa Menu

freetds - Re: Getting FreeTDS up under Solaris

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Gregg Jensen <greggj AT savvis.net>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Getting FreeTDS up under Solaris
  • Date: Fri, 18 Dec 1998 14:14:40 -0600


Kevin wrote:
...

> I also have been working on getting FreeTDS running under Solaris
> (as well as Linux). I've not had the chance to use the JDBC drivers yet,
> but you never know...
> ...
> made the following change to read.c and it worked...
>
> src/tds/read.c (line 25)
> # if defined(HW_LITTLE_ENDIAN)
> lobyte = tds_get_byte(tds);
> hibyte = tds_get_byte(tds);
> #elif defined(HW_BIG_ENDIAN)
> hibyte = tds_get_byte(tds);
> lobyte = tds_get_byte(tds);
> #else
> #error Endianess not defined!
> #endif
>

Yes, indeed I added this bit of code and it helped me along for Solaris. Now
sqsh-1.4 spits back what I ask for (for the most part)*
Thanks!
Gregg

*NOTE I am using the R0_31 version





Archive powered by MHonArc 2.6.24.

Top of Page