From:             phil dot nyc at gmail dot com
Operating system: Aix 5.3 64-bit
PHP version:      5.3CVS-2008-07-22 (snap)
PHP Bug Type:     ODBC related
Bug description:  Unable to query remote cataloged odbc

Description:
------------
on Aix 5.3 64-bit, have db2 connect installed to connect to iSeries db2,
and local aix db2.

able to do so using the db2 command line client, but using php only able
to query local aix db2.

using php, able to connect to remote (iSeries) db2 but not able to execute
query!


Reproduce code:
---------------
http://pastebin.com/f462c54ee

Expected result:
----------------
resource(5) of type (odbc link persistent)
select count(*) from dkactivity
resource(6) of type (odbc result)
int(4)
string(4) "4473"
===
resource(8) of type (odbc link persistent)
select count(*) from dfkdta10.bnncli with nc
resource(9) of type (odbc result)
int(4)
string(4) "3570"


Actual result:
--------------
resource(5) of type (odbc link persistent)
select count(*) from dkactivity
resource(6) of type (odbc result)
int(4)
string(4) "4473"
===
resource(8) of type (odbc link persistent)
select count(*) from dfkdta10.bnncli with nc
resource(9) of type (odbc result)

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to
allocate 544696693 bytes) in /usr/dfkp/webscripts/test/db2.php on line 11


-- 
Edit bug report at http://bugs.php.net/?id=45598&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45598&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45598&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45598&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45598&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45598&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45598&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45598&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45598&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45598&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45598&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45598&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45598&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45598&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45598&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45598&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45598&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45598&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45598&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45598&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45598&r=mysqlcfg

Reply via email to