php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37475 Cannot read lob content using oci8 functions
Submitted: 2006-05-17 12:42 UTC Modified: 2006-05-17 16:22 UTC
From: emmanuel dot chauvet at sitel-fr dot com Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 5.1.4 OS: Linux 2.6.12
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: emmanuel dot chauvet at sitel-fr dot com
New email:
PHP Version: OS:

 

 [2006-05-17 12:42 UTC] emmanuel dot chauvet at sitel-fr dot com
Description:
------------
Since 5.1.2 -> 5.1.4 migration, we have a bug in the oci8 functions when we want to display Oracle LOB.
Source code is working for 5.1.2 , not any more for 5.1.4 version.

Reproduce code:
---------------
$sql = "SELECT TEMPLATEID, LABEL, DESCRIPTION, HTML, TXT, CONTENTTYPE, BIN FROM TEMPLATECONTENT WHERE TEMPLATEID='301' AND LOCALE='fr_FR'";
$stmt = oci_parse( $conn, $sql );
oci_execute( $stmt );
while( $row = oci_fetch_row( $stmt ) )
{
                $reponse_type[2] = $row[2]->load();
}


Expected result:
----------------
Expects the content of the oracle lob
5.1.2 version -> content displayed OK
5.1.4 version -> no content displayed


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-17 12:48 UTC] emmanuel dot chauvet at sitel-fr dot com
Advanced search tool was not working.
Bogus already submitted.
I close the submit
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 22:01:30 2024 UTC