Skip to Content.
Sympa Menu

freetds - Re: [freetds] status of 0.64

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Lowden, James K" <james.k.lowden AT alliancebernstein.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] status of 0.64
  • Date: Tue, 14 Mar 2006 10:25:38 -0500

> From: ZIGLIO, Frediano, VF-IT
> Sent: Tuesday, March 14, 2006 9:58 AM
> > On Mar 12, 2006, at 6:00 PM, James K. Lowden wrote:
> >
> > > all ye of the proprietary and antique shall now have your say.
> > > If you want, of course.
...
> > while odbc.c declares the function with following signature:
> >
> > SQLRETURN SQL_API
> > SQLExtendedFetch(SQLHSTMT hstmt, SQLUSMALLINT fFetchType, SQLINTEGER

> > irow, SQLULEN FAR * pcrow, SQLUSMALLINT FAR * rgfRowStatus)
> >
> > After changing parameter irow to type SQLLEN, make runs to
completion
> > with no errors.
>
> >From http://support.microsoft.com/default.aspx?scid=kb;en-us;298678
> >you
> are right... And was already fixed in CVS HEAD (which is not 0.64
> branch... I don't know if I should be happy or not...)

You're talking about this patch? I'll add it for RC2.

--jkl

$ cvs diff -r 1.405 -r 1.406 src/odbc/odbc.c
Index: src/odbc/odbc.c
===================================================================
RCS file: /cvsroot/freetds/freetds/src/odbc/odbc.c,v
retrieving revision 1.405
retrieving revision 1.406
diff -u -r1.405 -r1.406
--- src/odbc/odbc.c 8 Feb 2006 09:49:18 -0000 1.405
+++ src/odbc/odbc.c 19 Feb 2006 13:56:15 -0000 1.406
@@ -60,7 +60,7 @@
#include <dmalloc.h>
#endif

-TDS_RCSID(var, "$Id: odbc.c,v 1.405 2006/02/08 09:49:18 freddy77 Exp
$");
+TDS_RCSID(var, "$Id: odbc.c,v 1.406 2006/02/19 13:56:15 freddy77 Exp
$");

static SQLRETURN SQL_API _SQLAllocConnect(SQLHENV henv, SQLHDBC FAR *
phdbc);
static SQLRETURN SQL_API _SQLAllocEnv(SQLHENV FAR * phenv);
@@ -424,7 +424,7 @@
#endif

SQLRETURN SQL_API
-SQLExtendedFetch(SQLHSTMT hstmt, SQLUSMALLINT fFetchType, SQLINTEGER
irow, SQLULEN FAR * pcrow, SQLUSMALLINT FAR * rgfRowStatus)
+SQLExtendedFetch(SQLHSTMT hstmt, SQLUSMALLINT fFetchType, SQLLEN irow,
SQLULEN FAR * pcrow, SQLUSMALLINT FAR * rgfRowStatus)
{
SQLRETURN ret;
SQLULEN * tmp_rows;

-----------------------------------------
The information contained in this transmission may be privileged and
confidential and is intended only for the use of the person(s) named
above. If you are not the intended recipient, or an employee or agent
responsible
for delivering this message to the intended recipient, any review,
dissemination,
distribution or duplication of this communication is strictly prohibited. If
you are
not the intended recipient, please contact the sender immediately by reply
e-mail
and destroy all copies of the original message. Please note that we do not
accept
account orders and/or instructions by e-mail, and therefore will not be
responsible
for carrying out such orders and/or instructions. If you, as the intended
recipient
of this message, the purpose of which is to inform and update our clients,
prospects
and consultants of developments relating to our services and products, would
not
like to receive further e-mail correspondence from the sender, please "reply"
to the
sender indicating your wishes. In the U.S.: 1345 Avenue of the Americas, New
York,
NY 10105.




Archive powered by MHonArc 2.6.24.

Top of Page