php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4330 FUNCTION ODBC_FETCH_INTO RETURNS ALL NULLS
Submitted: 2000-05-04 15:40 UTC Modified: 2005-03-31 16:13 UTC
From: GORDONL at TTS-SF dot COM Assigned:
Status: Wont fix Package: ODBC related
PHP Version: 3.0.16 OS: Mandrake Linux 7.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: GORDONL at TTS-SF dot COM
New email:
PHP Version: OS:

 

 [2000-05-04 15:40 UTC] GORDONL at TTS-SF dot COM
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
We are sorry, but we do not support PHP 3 related problems anymore.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC