cvs: pear /MDB2/MDB2/Driver oci8.php

From: Date: Mon, 25 Sep 2006 23:30:04 +0000
Subject: cvs: pear /MDB2/MDB2/Driver oci8.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-42232@lists.php.net to get a copy of this message
justinpatrin Mon Sep 25 23:30:04 2006 UTC Modified files: /pear/MDB2/MDB2/Driver oci8.php Log: For a buffered result set we need to load the LOBs as we fetch them http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Driver/oci8.php?r1=1.175&r2=1.176&diff_format=u Index: pear/MDB2/MDB2/Driver/oci8.php diff -u pear/MDB2/MDB2/Driver/oci8.php:1.175 pear/MDB2/MDB2/Driver/oci8.php:1.176 --- pear/MDB2/MDB2/Driver/oci8.php:1.175 Thu Aug 24 08:54:03 2006 +++ pear/MDB2/MDB2/Driver/oci8.php Mon Sep 25 23:30:03 2006 @@ -43,7 +43,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ -// $Id: oci8.php,v 1.175 2006/08/24 08:54:03 lsmith Exp $ +// $Id: oci8.php,v 1.176 2006/09/25 23:30:03 justinpatrin Exp $ /** * MDB2 OCI8 driver @@ -1143,6 +1143,11 @@ if ($this->offset > 0) { array_pop($buffer); } + foreach (array_keys($buffer) as $key) { + if (is_a($buffer[$key], 'oci-lob')) { + $buffer[$key] = $buffer[$key]->load(); + } + } $this->buffer[$this->buffer_rownum] = $buffer; }

« previous php.pear.cvs (#42232) next »