Commit 934feace authored by beberlei's avatar beberlei

[2.0] DDC-197 - Fix for OCI8 returning CLOBs as OCI-LOB instances, was it that...

[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!
parent 5af891d1
...@@ -149,7 +149,7 @@ class OCI8Statement implements \Doctrine\DBAL\Driver\Statement ...@@ -149,7 +149,7 @@ class OCI8Statement implements \Doctrine\DBAL\Driver\Statement
throw new \InvalidArgumentException("Invalid fetch style: " . $fetchStyle); 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);
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment