Skip to Content.
Sympa Menu

freetds - RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Nick Gorham <nick AT easysoft.com>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP
  • Date: Mon, 14 Oct 2002 17:05:14 +0100


Lowden, James K wrote:
From: Helio Cavichiolo Jr [mailto:hcav AT terra.com.br]
Sent: October 14, 2002 9:22 AM

As you can see here, in the PHP function call:

#ifdef HAVE_SQL_EXTENDED_FETCH

^^^^^^^^^ This should be undefined, no?

/* Solid doesn't have ExtendedFetch, if DriverManager is used, get Info,
whether Driver supports ExtendedFetch */
rc = SQLGetInfo(conn->hdbc, SQL_FETCH_DIRECTION, (void *), srollopts, sizeof(scrollopts), NULL);


FreeTDS's ODBC library doesn't support ExtendedFetch. Why would
HAVE_SQL_EXTENDED_FETCH be defined? I would expect this code not to be
compiled (#ifdef tests FALSE).

Not if it is compiled against a driver manager. PHP has a lot of stuff like this for direct linking against drivers.

--
Nick Gorham
Easysoft Limited http://www.easysoft.com





Archive powered by MHonArc 2.6.24.

Top of Page