Changeset 15937


Ignore:
Timestamp:
2007/09/24 09:41:54 (15 years ago)
Author:
kakinaka
Message:
 
Location:
branches/dev/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/class/SC_DbConn.php

    r15934 r15937  
    99require_once($current_dir . "/../module/DB.php"); 
    1010require_once($current_dir . "/../module/MDB2.php"); 
     11require_once($current_dir . "/../module/MDB2/Extended.php"); 
    1112 
    1213$objDbConn = ""; 
     
    121122 
    122123        if ( $arr ){ 
    123             //$result = $this->conn->getAll($n, $arr, DB_FETCHMODE_ASSOC); 
    124             $result = $this->conn_mdb2->queryAll($n, $arr, DB_FETCHMODE_ASSOC); 
    125         } else { 
    126             //$result = $this->conn->getAll($n, DB_FETCHMODE_ASSOC); 
    127             $result = $this->conn_mdb2->queryAll($n, DB_FETCHMODE_ASSOC); 
     124            $result = $this->conn->getAll($n, $arr, DB_FETCHMODE_ASSOC); 
     125            //$result = $this->conn_mdb2->queryAll($n, $arr, DB_FETCHMODE_ASSOC); 
     126        } else { 
     127            $result = $this->conn->getAll($n, DB_FETCHMODE_ASSOC); 
     128            //$result = $this->conn_mdb2->queryAll($n, DB_FETCHMODE_ASSOC); 
    128129        } 
    129130         
  • branches/dev/data/module/MDB2.php

    r15936 r15937  
    380380    { 
    381381        $dsninfo = MDB2::parseDSN($dsn); 
    382         sfprintr($dsninfo); 
    383382        if (empty($dsninfo['phptype'])) { 
    384383            $err =& MDB2::raiseError(MDB2_ERROR_NOT_FOUND, 
Note: See TracChangeset for help on using the changeset viewer.