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

From: Date: Mon, 25 Sep 2006 23:02:11 +0000
Subject: cvs: pear /MDB2/MDB2/Driver/Reverse oci8.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-42231@lists.php.net to get a copy of this message
justinpatrin Mon Sep 25 23:02:11 2006 UTC Modified files: /pear/MDB2/MDB2/Driver/Reverse oci8.php Log: Fix reverse engineering for oci8 Fix typo http://cvs.php.net/viewvc.cgi/pear/MDB2/MDB2/Driver/Reverse/oci8.php?r1=1.45&r2=1.46&diff_format=u Index: pear/MDB2/MDB2/Driver/Reverse/oci8.php diff -u pear/MDB2/MDB2/Driver/Reverse/oci8.php:1.45 pear/MDB2/MDB2/Driver/Reverse/oci8.php:1.46 --- pear/MDB2/MDB2/Driver/Reverse/oci8.php:1.45 Sat Aug 26 15:06:36 2006 +++ pear/MDB2/MDB2/Driver/Reverse/oci8.php Mon Sep 25 23:02:11 2006 @@ -42,7 +42,7 @@ // | Author: Lukas Smith <smith@pooteeweet.org> | // +----------------------------------------------------------------------+ // -// $Id: oci8.php,v 1.45 2006/08/26 15:06:36 lsmith Exp $ +// $Id: oci8.php,v 1.46 2006/09/25 23:02:11 justinpatrin Exp $ // require_once 'MDB2/Driver/Reverse/Common.php'; @@ -323,10 +323,10 @@ return $db; } - $id = MDB2::isResultCommon($result) ? $result->getResource() : $result; - if (!is_resource($id)) { + $resource = MDB2::isResultCommon($result) ? $result->getResource() : $result; + if (!is_resource($resource)) { return $db->raiseError(MDB2_ERROR_NEED_MORE_DATA, null, null, - 'Could not generate result ressource', __FUNCTION__); + 'Could not generate result resource', __FUNCTION__); } if ($db->options['portability'] & MDB2_PORTABILITY_FIX_CASE) {

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