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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Feb 05 15:01:32 2025 UTC