php.net |  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
 [2009-08-14 04:25 UTC] vladimir dot benes at asseco dot cz
Description:
------------
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 (http://pecl.php.net/bugs/bug.php?id=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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

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

Regards,
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-2019 The PHP Group
All rights reserved.
Last updated: Sun Oct 20 21:01:27 2019 UTC