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

Diff for Metafox/lib/DB/oci8.php between version 1.1 and 1.2

version 1.1, 2005/06/05 12:14:09 version 1.2, 2005/11/07 20:37:25
Line 47  require_once 'DB/common.php';
Line 47  require_once 'DB/common.php';
  * @author     Daniel Convissor <danielc@php.net>   * @author     Daniel Convissor <danielc@php.net>
  * @copyright  1997-2005 The PHP Group   * @copyright  1997-2005 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.4   * @version    Release: 1.7.6
  * @link       http://pear.php.net/package/DB   * @link       http://pear.php.net/package/DB
  */   */
 class DB_oci8 extends DB_common  class DB_oci8 extends DB_common
Line 225  class DB_oci8 extends DB_common
Line 225  class DB_oci8 extends DB_common
                 $connect_function = $persistent ? 'oci_pconnect'                  $connect_function = $persistent ? 'oci_pconnect'
                                     : 'oci_connect';                                      : 'oci_connect';
             }              }
   
               // Backwards compatibility with DB < 1.7.0
               if (empty($dsn['database']) && !empty($dsn['hostspec'])) {
                   $db = $dsn['hostspec'];
               } else {
                   $db = $dsn['database'];
               }
   
             $char = empty($dsn['charset']) ? null : $dsn['charset'];              $char = empty($dsn['charset']) ? null : $dsn['charset'];
             $this->connection = @$connect_function($dsn['username'],              $this->connection = @$connect_function($dsn['username'],
                                                    $dsn['password'],                                                     $dsn['password'],
                                                    $dsn['database'],                                                     $db,
                                                    $char);                                                     $char);
             $error = OCIError();              $error = OCIError();
             if (!empty($error) && $error['code'] == 12541) {              if (!empty($error) && $error['code'] == 12541) {

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

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