Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026

Diff for Metafox/lib/DB/odbc.php between version 1.2 and 1.3

version 1.2, 2005/11/07 20:37:25 version 1.3, 2011/06/17 13:56:39
Line 18 
Line 18 
  * @package    DB   * @package    DB
  * @author     Stig Bakken <ssb@php.net>   * @author     Stig Bakken <ssb@php.net>
  * @author     Daniel Convissor <danielc@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   * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
  * @version    CVS: $Id$   * @version    CVS: $Id$
  * @link       http://pear.php.net/package/DB   * @link       http://pear.php.net/package/DB
Line 42  require_once 'DB/common.php';
Line 42  require_once 'DB/common.php';
  * @package    DB   * @package    DB
  * @author     Stig Bakken <ssb@php.net>   * @author     Stig Bakken <ssb@php.net>
  * @author     Daniel Convissor <danielc@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   * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
  * @version    Release: 1.7.6   * @version    Release: 1.7.14RC2
  * @link       http://pear.php.net/package/DB   * @link       http://pear.php.net/package/DB
  */   */
 class DB_odbc extends DB_common  class DB_odbc extends DB_common
Line 266  class DB_odbc extends DB_common
Line 266  class DB_odbc extends DB_common
         }          }
         // Determine which queries that should return data, and which          // Determine which queries that should return data, and which
         // should return an error code only.          // should return an error code only.
         if (DB::isManip($query)) {          if ($this->_checkManip($query)) {
             $this->affected = $result; // For affectedRows()              $this->affected = $result; // For affectedRows()
             return DB_OK;              return DB_OK;
         }          }
Line 367  class DB_odbc extends DB_common
Line 367  class DB_odbc extends DB_common
      */       */
     function freeResult($result)      function freeResult($result)
     {      {
         return @odbc_free_result($result);          return is_resource($result) ? odbc_free_result($result) : false;
     }      }
   
     // }}}      // }}}

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top