Ignore:
Timestamp:
2009/03/06 20:21:51 (17 years ago)
Author:
Seasoft
Message:

・PEAR::DB を Ver.1.7.14RC1(2007-11-27)ベースに更改。
・不適切な文字列比較を修正。

 http://xoops.ec-cube.net/modules/newbb/viewtopic.php?topic_id=1808&forum=9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/module/DB/odbc.php

    r15532 r17877  
    1919 * @author     Stig Bakken <[email protected]> 
    2020 * @author     Daniel Convissor <[email protected]> 
    21  * @copyright  1997-2005 The PHP Group 
     21 * @copyright  1997-2007 The PHP Group 
    2222 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0 
    2323 * @version    CVS: $Id$ 
     
    4343 * @author     Stig Bakken <[email protected]> 
    4444 * @author     Daniel Convissor <[email protected]> 
    45  * @copyright  1997-2005 The PHP Group 
     45 * @copyright  1997-2007 The PHP Group 
    4646 * @license    http://www.php.net/license/3_0.txt  PHP License 3.0 
    47  * @version    Release: @package_version@ 
     47 * @version    Release: 1.7.14RC1 
    4848 * @link       http://pear.php.net/package/DB 
    4949 */ 
     
    267267        // Determine which queries that should return data, and which 
    268268        // should return an error code only. 
    269         if (DB::isManip($query)) { 
     269        if ($this->_checkManip($query)) { 
    270270            $this->affected = $result; // For affectedRows() 
    271271            return DB_OK; 
     
    368368    function freeResult($result) 
    369369    { 
    370         return @odbc_free_result($result); 
     370        return is_resource($result) ? odbc_free_result($result) : false; 
    371371    } 
    372372 
Note: See TracChangeset for help on using the changeset viewer.