freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Helio Cavichiolo Jr <hcav AT ig.com.br>
- To: "TDS Development Group" <freetds AT franklin.metalab.unc.edu>
- Subject: RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP
- Date: Mon, 14 Oct 2002 14:58:36 -0200
Nothing changed. I still got the same message:
Warning: SQL error: [unixODBC]Statement option not implemented, SQL state
08001 in SQLSetStmtOption in /var/www/htdocs/teste.php on line 7
Lines 6 and 7 are:
$query = "select nome from transportador";
$result = odbc_exec($connect, $query);
Helio
Em Seg 14 Out 2002 15:10, you wrote:
> So we probably need the SQLGetInfo() call to return a code indicating that
> we don't support ExtendedFetch. Can you try this patch and let me know if
> it makes any difference?
>
> Cheers,
> --nick
>
> -----Original Message-----
> From: bounce-freetds-145195 AT franklin.oit.unc.edu
> [mailto:bounce-freetds-145195 AT franklin.oit.unc.edu]
> Sent: Monday, October 14, 2002 12:05 PM
> To: TDS Development Group
> Subject: [freetds] RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP
>
> 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.
-
RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP
, (continued)
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Lowden, James K, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, ZIGLIO Frediano, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Tom Sillence, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Helio Cavichiolo Jr, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Helio Cavichiolo Jr, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Lowden, James K, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Nick Gorham, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Castellano, Nicholas, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Nick Gorham, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Castellano, Nicholas, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Helio Cavichiolo Jr, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Frediano Ziglio, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Frediano Ziglio, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Castellano, Nicholas, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Helio Cavichiolo Jr, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Castellano, Nicholas, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Helio Cavichiolo Jr, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Castellano, Nicholas, 10/14/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Helio Cavichiolo Jr, 10/15/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, ZIGLIO Frediano, 10/16/2002
- RE: freetds-0.60 + unixODBC + sqlserver2000 + PHP, Helio Cavichiolo Jr, 10/16/2002
Archive powered by MHonArc 2.6.24.