Bug #13154 Updated: ODBC query to Openingres 2.0 fail with scs_p_GetTblAttribs: DRV_DDTables failed
| From: | andre dot felipe at embrapa dot br | Date: | Wed, 02 Jan 2002 12:28:37 +0000 |
| Subject: | Bug #13154 Updated: ODBC query to Openingres 2.0 fail with scs_p_GetTblAttribs: DRV_DDTables failed | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-75583@lists.php.net to get a copy of this message | ||
ID: 13154
User updated by: andre.felipe@embrapa.br
Reported By: andre.felipe@embrapa.br
Old Status: Closed
Status: Open
Bug Type: ODBC related
Operating System: Solaris 8
PHP Version: 4.0.6
Old Assigned To: ahill
Assigned To:
Previous Comments:
------------------------------------------------------------------------
[2001-12-28 06:10:42] lobbin@php.net
No feedback. Closing.
------------------------------------------------------------------------
[2001-12-07 13:11:40] ahill@php.net
We've not had any problems with your configuration - are you getting an error message?
Best regards,
Andrew Hill
------------------------------------------------------------------------
[2001-12-07 12:25:32] kalowsky@php.net
Assigning this to Ahill as he knows the OpenLink software best.
------------------------------------------------------------------------
[2001-09-05 14:57:19] andre.felipe@embrapa.br
No queries can be made with PHP 4 and Openlink ODBC to access OpenIngres.
Test program:
<? echo " Teste de ODBC<P>" ;
$odbc = odbc_connect("Desenv" , "notes", "notes",
SQL_CUR_USE_IF_NEEDED );
echo " ODBC_CONNECT return code: $odbc ";
$query = "select matrica from srhtb002";
$queryprep = odbc_prepare ($odbc, $query); // This produces the error.
$result = odbc_execute($queryprep );
print "ok. result = $result";
$nextrow = odbc_fetch_row($result, 1);
if (! $nextrow ) {
print "Nco achou nada...<br>";
}
else {
print odbc_result($result , 1 );
print "<br>";
print odbc_result($result , 2 );
}
?>
The configure line is:
./configure --enable-track-vars --with-yp --with-apxs --with-oci8
--with-iodbc=/software/openlink/odbcsdk
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13154&edit=1