php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57134 LOB load() function returns an empty string for a non-empty CLOB result
Submitted: 2006-07-11 13:49 UTC Modified: 2006-07-11 19:14 UTC
From: mlemos at acm dot org Assigned:
Status: Closed Package: oci8 (PECL)
PHP Version: 4.4.0 OS: SuSE Linux 10.0
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.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mlemos at acm dot org
New email:
PHP Version: OS:

 

 [2006-07-11 13:49 UTC] mlemos at acm dot org
Description:
------------
When executing a query that returns a CLOB field, the load() function returns an empty string instead of non-empty LOB contents.

Reproduce code:
---------------
Just execute a query that retrieves a CLOB field and try to retrieve it with the LOB object load() function. It returns an emptry string instead of the actual CLOB contents.

This bug only shows in OCI8 1.2.1 . In 1.2.0 it works correctly.

Expected result:
----------------
The CLOB field contents.

Actual result:
--------------
Empty string.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-11 13:53 UTC] tony2001 at phpclub dot net
Please try OCI8 from PECL CVS.
 [2006-07-11 19:14 UTC] mlemos at acm dot org
The latest CVS snapshot seems to work correctly. Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 15:01:28 2024 UTC