[PHP-DEV] Bug #4330: FUNCTION ODBC_FETCH_INTO RETURNS ALL NULLS From: GORDONL <email protected>
Date: 05/04/00

From: GORDONL <email protected>
Operating system: Mandrake Linux 7.0
PHP version: 3.0.16
PHP Bug Type: ODBC related
Bug description: FUNCTION ODBC_FETCH_INTO RETURNS ALL NULLS

Working with Informix drivers and database, when we run with this function, we get nothing. The error return is null and the return array is null. Transforming the code to use the odbc_fetch_row function makes it work.

Our configure line was (approximately):

./configure --with-apache=/opt/apache --with-custom_odbc=/opt/informix --with-informix=/opt/informix --with-php=/opt/php

To get the whole build process to complete successfully we had to make a couple of changes:
In function.c, we had to cut out a segment of code that referred to memory leak in Informix Client (version <= 7.20) because the '#if' statement was written incorrectly. In the library include process, we had to alter the library list to include some native Informix Client libraries.

Also, several of the Informix ifx functions (ifx_prepare, ifx_query, ifx_do) exhibit the same behavior(return nothing but nulls). This makes the informix functions essentially worthless to us.

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>