Skip to Content.
Sympa Menu

freetds - Re: [freetds] 0.64rc2 Debian prerelease packages available

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "ZIGLIO, Frediano, VF-IT" <Frediano.Ziglio AT vodafone.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] 0.64rc2 Debian prerelease packages available
  • Date: Fri, 31 Mar 2006 17:30:00 +0200

>
> ZIGLIO, Frediano, VF-IT wrote:
> >>Hey all,
> >>
> >>I've made packages of freetds 0.64rc2 available for Debian
> unstable at
> >><http://people.debian.org/~vorlon/freetds/>. Binaries
> >>available for i386,
> >>alpha, and amd64 architectures.
> >>
> >>The packages include two patches of significance. One is a
> >>further fix for
> >>64-bit ODBC compatibility which I'd like to submit for
> >>consideration for
> >>0.64; without it, FreeTDS fails to build on 64-bit Debian
> systems with
> >>gcc-4.0. (On non-Debian systems, it may build successfully
> >>only because
> >>UnixODBC is currently not 64-bit clean by default upstream.)
> >>
>
> What unixODBC release is it based on? What is the 64 bit problem?
>

>From http://people.debian.org/~vorlon/freetds/freetds_0.64~rc2-1.diff.gz

--- freetds-0.64~rc2.orig/src/odbc/odbc.c
+++ freetds-0.64~rc2/src/odbc/odbc.c
@@ -423,7 +423,7 @@
#endif

SQLRETURN SQL_API
-SQLExtendedFetch(SQLHSTMT hstmt, SQLUSMALLINT fFetchType, SQLLEN irow,
SQLULEN FAR * pcrow, SQLUSMALLINT FAR * rgfRowStatus)
+SQLExtendedFetch(SQLHSTMT hstmt, SQLUSMALLINT fFetchType, SQLROWOFFSET
irow, SQLROWSETSIZE FAR * pcrow, SQLUSMALLINT FAR * rgfRowStatus)
{
SQLRETURN ret;
SQLULEN * tmp_rows;
@@ -697,7 +697,7 @@
}

SQLRETURN SQL_API
-SQLParamOptions(SQLHSTMT hstmt, SQLULEN crow, SQLULEN FAR * pirow)
+SQLParamOptions(SQLHSTMT hstmt, SQLUINTEGER crow, SQLUINTEGER FAR *
pirow)
{
SQLRETURN res;

>From http://support.microsoft.com/default.aspx?scid=kb;en-us;298678 see
declarations for 64-bit

freddy77





Archive powered by MHonArc 2.6.24.

Top of Page