php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58716 Solution: related to PHP Bugs: #32954 & #8715
Submitted: 2009-06-10 18:37 UTC Modified: 2017-04-01 20:40 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: amitshahc at hotmail dot com Assigned:
Status: Wont fix Package: informix (PECL)
PHP Version: 5.2.9 OS: RHEL5, any 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 — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
39 - 33 = ?
Subscribe to this entry?

 
 [2009-06-10 18:37 UTC] amitshahc at hotmail dot com
Description:
------------
Solution: related to PHP Bugs: #32954 & #8715.


I think it's memory issue with apache handling the informix result id.
with text datatype. i don't know exactly as i am not ESQL/C developer.
but i used a combination of settings before executing the select query which have the text field in the result.

Set
ifx_blobinfile_mode(1);
ifx_textasvarchar(0);

will return the blob id, in text field value instead of the giving text contect directly into that field. 

then do
ifx_get_blob($row['text_field_name']). 
will return the file name. and then read that file content, store it in the variable. and delete the file. 

doing
ifx_free_blob($row['text_field_name']);
again crashes the php script sometimes. so don't do it. 

but you can do ifx_free_result($resultId); at the end of the script.

All The Best...

sorry, this bug means not solutions but let us consider it as a trick or tip or the way to overcome the bug.
Amit Shah



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-04-01 20:40 UTC] tpunt@php.net
-Status: Open +Status: Wont fix
 [2017-04-01 20:40 UTC] tpunt@php.net
Due to this extension not seeing any activity since 2009, this issue will not be fixed. We are therefore closing this now.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 15:01:29 2024 UTC