php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56556 BLOBs not working
Submitted: 2005-09-17 14:26 UTC Modified: 2007-02-12 10:34 UTC
From: ytrewq at cyberspace dot pl Assigned: grantc (profile)
Status: Closed Package: ingres (PECL)
PHP Version: 5.0.3 OS: Linux
Private report: No CVE-ID: None
 [2005-09-17 14:26 UTC] ytrewq at cyberspace dot pl
Description:
------------
Using version 1.1 of the package I get errors like this one when I try to use ingres_fetch_array a BLOB column:

PHP Warning:  ingres_fetch_array() [<a href='function.ingres-fetch-array'>function.ingres-fetch-array</a>]: Ingres:  Invalid SQL data type in fetched field (22 -- length : 9)

I also get errors when I try to access longint type data.

PHP Warning:  ingres_fetch_array() [<a href='function.ingres-fetch-array'>function.ingres-fetch-array</a>]: Ingres:  Invalid size for IIAPI_INT_TYPE data (8)

In both cases I get no value in fetched array

I am using php 5.0.5 




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-19 03:51 UTC] grantc@php.net
Hi,

Blob support is missing at the moment. Although you should have recieved a different message stating this. INT8 support is not possible at the moment since PHP has no concept of a 64-bit int. I can load an Ingres sourced INT8 into a PHP long but there could be data loss. I believe 8 byte integers will come along in php 6.

regards

grant
 [2007-02-12 10:34 UTC] grant dot croker at ingres dot com
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 15:01:29 2024 UTC