|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58807 Informix blob data longer that 16KB: only the first 16KB are reading correctly
Submitted: 2009-08-14 04:25 UTC Modified: 2009-09-11 03:13 UTC
From: vladimir dot benes at asseco dot cz Assigned:
Status: Closed Package: PDO_INFORMIX (PECL)
PHP Version: 5.1.6 OS: RedHat Enterprise Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
5 + 2 = ?
Subscribe to this entry?

 [2009-08-14 04:25 UTC] vladimir dot benes at asseco dot cz
If Informix data are declared as byte, select statement returs their value correctly.
But if the same data are declared as blob, only the first 16KB are reading correctly - the rest is "random" stream and only size is correct.
This problem occures both with reading by PDO::ATTR_STRINGIFY_FETCHES and also with streams.

It's like closed bug 7595 (; perhaps bug 7595 was related only type byte, not blob.

PDO 1.2.5, PDO 1.2.6
PHP 5.1.6
IDS 11.50.UC3
CSDK 3.50.UC2


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-08-18 02:06 UTC] abhargav at in dot ibm dot com

Thanks for writing in. I will look into this issue. Will update you with the progress.

Ambrish Bhargava
 [2009-09-11 03:13 UTC] vladimir dot benes at asseco dot cz
Problem was solved by using CSDK 3.50.TC5.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Mon Nov 28 11:05:53 2022 UTC