freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: christos AT zoulas.com (Christos Zoulas)
- To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
- Subject: Re: [freetds] ODBC on 64 bit linux fix.
- Date: Fri, 18 Jan 2008 08:18:06 -0500
On Jan 18, 9:19am, sf AT 4js.com (Sebastien FLAESCH) wrote:
-- Subject: Re: [freetds] ODBC on 64 bit linux fix.
| Hi all,
|
| We are about to test our product with FreeTDS on Linux 64b...
|
| In our code we use SQLULEN and SQLLEN (comes from the Windows 64b port
experience):
|
| SQLRETURN r;
| SQLUSMALLINT pos = i + 1;
| SQLSMALLINT namelen;
| SQLSMALLINT sqltype;
| * SQLULEN precision;
| SQLSMALLINT scale;
| SQLSMALLINT nullable;
| * SQLULEN size;
| SQLSMALLINT ctype = 0;
| r = SQLDescribeCol(st->stmtHandle, pos, NULL, 0,
| &namelen, &sqltype, &precision, &scale, &nullable);
|
| So first I doubt that Christos patch is I good idea:
|
| -SQLParamOptions(SQLHSTMT hstmt, SQLULEN crow, SQLULEN FAR * pirow)
| +SQLParamOptions(SQLHSTMT hstmt, SQLUINTEGER crow, SQLUINTEGER FAR * pirow)
|
| Changing SQLULEN to SQLUINTEGER in FreeTDS would break the standards... no?
My sqlext.h header disagrees with you.
christos
-
Re: [freetds] ODBC on 64 bit linux fix.
, (continued)
- Re: [freetds] ODBC on 64 bit linux fix., Christos Zoulas, 01/18/2008
- Re: [freetds] ODBC on 64 bit linux fix., ZIGLIO, Frediano, VF-IT, 01/18/2008
- Re: [freetds] ODBC on 64 bit linux fix., Sebastien FLAESCH, 01/18/2008
- Re: [freetds] ODBC on 64 bit linux fix., ZIGLIO, Frediano, VF-IT, 01/21/2008
- Re: [freetds] ODBC on 64 bit linux fix., Sebastien FLAESCH, 01/21/2008
- Re: [freetds] ODBC on 64 bit linux fix., ZIGLIO, Frediano, VF-IT, 01/21/2008
- [freetds] ODBC on 64 bit linux - test64, ZIGLIO, Frediano, VF-IT, 01/21/2008
- Message not available
- Message not available
- Message not available
- Re: [freetds] [unixODBC-dev] ODBC on 64 bit linux - test64, ZIGLIO, Frediano, VF-IT, 01/22/2008
- Re: [freetds] [unixODBC-dev] ODBC on 64 bit linux - test64, Steve Langasek, 01/24/2008
- Re: [freetds] [unixODBC-dev] ODBC on 64 bit linux - test64, Frediano Ziglio, 01/24/2008
Archive powered by MHonArc 2.6.24.