diff options
author | alecpl <alec@alec.pl> | 2008-05-12 12:19:32 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-05-12 12:19:32 +0000 |
commit | e5deaae52880e7ddb7efab0b190e5f5c750f55c4 (patch) | |
tree | f3a45e99480c5818dde1f939fc75e11bce8bb3d5 /program/lib/DB/odbc.php | |
parent | a6f90e1b2bea6602f7056986ee8dbd59afeee90c (diff) |
- Updated PEAR::DB package to version 1.7.13
Diffstat (limited to 'program/lib/DB/odbc.php')
-rw-r--r-- | program/lib/DB/odbc.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/program/lib/DB/odbc.php b/program/lib/DB/odbc.php index c920d7a63..350ec85bd 100644 --- a/program/lib/DB/odbc.php +++ b/program/lib/DB/odbc.php @@ -18,7 +18,7 @@ * @package DB * @author Stig Bakken <ssb@php.net> * @author Daniel Convissor <danielc@php.net> - * @copyright 1997-2005 The PHP Group + * @copyright 1997-2007 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 * @version CVS: $Id$ * @link http://pear.php.net/package/DB @@ -42,9 +42,9 @@ require_once 'DB/common.php'; * @package DB * @author Stig Bakken <ssb@php.net> * @author Daniel Convissor <danielc@php.net> - * @copyright 1997-2005 The PHP Group + * @copyright 1997-2007 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version Release: @package_version@ + * @version Release: 1.7.13 * @link http://pear.php.net/package/DB */ class DB_odbc extends DB_common @@ -266,7 +266,7 @@ class DB_odbc extends DB_common } // Determine which queries that should return data, and which // should return an error code only. - if (DB::isManip($query)) { + if ($this->_checkManip($query)) { $this->affected = $result; // For affectedRows() return DB_OK; } @@ -367,7 +367,7 @@ class DB_odbc extends DB_common */ function freeResult($result) { - return @odbc_free_result($result); + return is_resource($result) ? odbc_free_result($result) : false; } // }}} |