Changeset 18774


Ignore:
Timestamp:
2010/08/04 08:49:21 (14 years ago)
Author:
Seasoft
Message:

#565(SC_DbConn クラスの削除)

  • 初回インストール時にエラーとなる問題を回避。
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/SC_Query.php

    r18773 r18774  
    6464        } 
    6565 
    66         $this->conn->setCharset(CHAR_CODE); 
    67         $this->conn->setFetchMode(MDB2_FETCHMODE_ASSOC); 
     66        if (!$this->isError()) { 
     67            $this->conn->setCharset(CHAR_CODE); 
     68            $this->conn->setFetchMode(MDB2_FETCHMODE_ASSOC); 
     69        } 
    6870        $this->dbFactory = SC_DB_DBFactory_Ex::getInstance(); 
    6971        $this->where = ""; 
Note: See TracChangeset for help on using the changeset viewer.