Bug #68327 [Opn->Dup]: Data from NCLOB column is not returned from PDO_OCI Statement

From: Date: Wed, 29 Oct 2014 19:30:37 +0000
Subject: Bug #68327 [Opn->Dup]: Data from NCLOB column is not returned from PDO_OCI Statement
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-188369@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68327&edit=1

 ID:                 68327
 Updated by:         requinix@php.net
 Reported by:        contact at greg dot md
 Summary:            Data from NCLOB column is not returned from PDO_OCI
                     Statement
-Status:             Open
+Status:             Duplicate
 Type:               Bug
 Package:            PDO OCI
 Operating System:   Mac OS X
 PHP Version:        5.4.34
 Block user comment: N
 Private report:     N

 New Comment:

bug #68326


Previous Comments:
------------------------------------------------------------------------
[2014-10-29 19:23:22] contact at greg dot md

Description:
------------
I have compiled last sources from https://github.com/php/php-src/tree/master/ext/pdo_oci.

Data from NCLOB type is not returned in the row. From CLOB or NVARCHAR2 is all ok.

Test script:
---------------
$options = array(
    PDO::ATTR_STRINGIFY_FETCHES => true,
);

$dbh = new PDO('dns', 'username', 'password', $options);

$stmt = $dbh->query('select NCLOB_COLUMN from TABLE');

$row = $stmt->fetch(PDO::FETCH_ASSOC);

var_dump($row);




------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=68327&edit=1


Thread (2 messages)

« previous php.bugs (#188369) next »