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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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 Apr 26 14:01:29 2024 UTC