From 934feace5777f0c9afe0cf56c4d2600f6601bd1a Mon Sep 17 00:00:00 2001 From: beberlei Date: Sun, 6 Dec 2009 23:46:02 +0000 Subject: [PATCH] [2.0] DDC-197 - Fix for OCI8 returning CLOBs as OCI-LOB instances, was it that easy? The test suggets that inserting clobs is not even requiring the temporary syntax anymore.. Great! --- lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php b/lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php index 55c03d975..d0644b19a 100644 --- a/lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php +++ b/lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php @@ -149,7 +149,7 @@ class OCI8Statement implements \Doctrine\DBAL\Driver\Statement throw new \InvalidArgumentException("Invalid fetch style: " . $fetchStyle); } - return oci_fetch_array($this->_sth, self::$fetchStyleMap[$fetchStyle] | OCI_RETURN_NULLS); + return oci_fetch_array($this->_sth, self::$fetchStyleMap[$fetchStyle] | OCI_RETURN_NULLS | OCI_RETURN_LOBS); } /**