Changeset 18609 for tmp/version-2_5-test/data/module/DB/odbc.php
- Timestamp:
- 2010/03/11 10:35:11 (16 years ago)
- File:
-
- 1 edited
-
tmp/version-2_5-test/data/module/DB/odbc.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tmp/version-2_5-test/data/module/DB/odbc.php
r15532 r18609 19 19 * @author Stig Bakken <[email protected]> 20 20 * @author Daniel Convissor <[email protected]> 21 * @copyright 1997-200 5The PHP Group21 * @copyright 1997-2007 The PHP Group 22 22 * @license http://www.php.net/license/3_0.txt PHP License 3.0 23 23 * @version CVS: $Id$ … … 43 43 * @author Stig Bakken <[email protected]> 44 44 * @author Daniel Convissor <[email protected]> 45 * @copyright 1997-200 5The PHP Group45 * @copyright 1997-2007 The PHP Group 46 46 * @license http://www.php.net/license/3_0.txt PHP License 3.0 47 * @version Release: @package_version@47 * @version Release: 1.7.14RC1 48 48 * @link http://pear.php.net/package/DB 49 49 */ … … 267 267 // Determine which queries that should return data, and which 268 268 // should return an error code only. 269 if ( DB::isManip($query)) {269 if ($this->_checkManip($query)) { 270 270 $this->affected = $result; // For affectedRows() 271 271 return DB_OK; … … 368 368 function freeResult($result) 369 369 { 370 return @odbc_free_result($result);370 return is_resource($result) ? odbc_free_result($result) : false; 371 371 } 372 372
Note: See TracChangeset
for help on using the changeset viewer.
