Bug #17253 Updated: DB2 access returns no data under PHP 4.2.x
| From: | rasmus@php.net | Date: | Wed, 15 May 2002 16:32:22 +0000 |
| Subject: | Bug #17253 Updated: DB2 access returns no data under PHP 4.2.x | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-7767@lists.php.net to get a copy of this message | ||
ID: 17253
Updated by: rasmus@php.net
Reported By: dpiper@stens.com
-Status: Open
+Status: Feedback
Bug Type: *General Issues
Operating System: Linux, Debian 2.2
PHP Version: 4.2.1
New Comment:
Nowhere near enough information to do anything with this report.
Provide a 3-line script that doesn't do what you expect it to.
Previous Comments:
------------------------------------------------------------------------
[2002-05-15 12:15:37] dpiper@stens.com
Resubmitted from bug #16827 because the stupid form won't let me update
it. Can you try actually LOOKING at it instead of just telling me its
bogus??
I have noticed that all the DB2 (v7.1) accessing code (via the unified
ODBC functions) fails to be able to gather results under PHP4.2.1.
PHP is not crashing, and script execution continues past the points
of
failure, and no error messages are displayed or logged. It appears
that
there is just no data coming back from the odbc_do() function,
although
the return code of odbc_fetch_into() is greather than zero.
PHP configure line:
--with-apache=../apache --enable-trans-sid --with-zlib
--with-mysql=/usr/local/ --with-ibm-db2=/usr/IBMdb2/V7.1/
--with-ldap
--with-mcrypt --with-imap --with-gd=/usr/ --with-png-dir=/usr/
--with-jpeg-dir=/usr/
Yes, I know there's a lot of stuff compiled in, but I need and use
it
all :)
I have done a clean build every time for my setup, and the results
are
the same with PHP 4.2.1.
PHP 4.1.2 does NOT exhibit this problem, using the same compile
time
options as above - and running on the exact same pages on the same
machine, even a recompile with PHP4.1.2 yields a fully working
system.
Thanks,
Derek
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=17253&edit=1