Skip to Content.
Sympa Menu

freetds - Re: [freetds] [unixODBC-dev] ODBC on 64 bit linux - test64

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Frediano Ziglio <freddy77 AT gmail.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] [unixODBC-dev] ODBC on 64 bit linux - test64
  • Date: Thu, 24 Jan 2008 13:33:44 +0100


Il giorno mar, 22/01/2008 alle 10.58 +0000, Steve Langasek ha scritto:
> On Tue, Jan 22, 2008 at 09:53:01AM +0100, ZIGLIO, Frediano, VF-IT wrote:
> > >
> > > On Mon, Jan 21, 2008 at 03:33:05PM +0100, ZIGLIO, Frediano,
> > > VF-IT wrote:
> > > > test64 tests (currently) SQL_DESC_ROWS_PROCESSED_PTR. This
> > > pointer holds
> > > > the pointer to how many rows are returned/processed. I
> > > wrote test cause
> > > > this pointer is bound to many attributes. The test demonstrate that
> > > > indipendently from how you set this pointer it's always
> > > SQLULEN (that is
> > > > 64bit on 64bit platforms). So
> > > > - SQLSetStmtAttr SQL_ATTR_PARAMS_PROCESSED_PTR
> > > > - SQLSetDescField SQL_DESC_ROWS_PROCESSED_PTR (both IPD and IRD)
> > > > - SQLSetStmtAttr SQL_ATTR_PARAMS_PROCESSED_PTR
> > > > - parameter pirow of SQLParamOptions
> > > > - parameter RowCountPtr of SQLExtendedFetch
> > > > are SQLULEN* under 64bit!
> > >
> > > > This is not well stated at http://support.microsoft.com/kb/298678 !!
> > > > For this reason SQLROWSETSIZE unixODBC type should be SQLULEN not
> > > > SQLUINTEGER !!
> > >
> > > Which they are with unixODBC 2.2.11; are you saying that the
> > > typedef of
> > > SQLROWSETSIZE has regressed, or are you using an older version?
>
> > I don't know, on Fedora Core 6 (I think results on Debian/Ubuntu should
> > be different)
>
> Ok, but what version of UnixODBC is included in FC6?
>

I checked on Fedora 7 and Fedora 8, they use unixODBC-2.2.12 without any
strange settings to SQLULEN is 4 bytes on amd64

freddy77






Archive powered by MHonArc 2.6.24.

Top of Page