Changeset 23523


Ignore:
Timestamp:
2014/06/04 15:51:41 (10 years ago)
Author:
Seasoft
Message:

#2515 (無駄な処理を改善する for 2.13.3)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13-dev/data/class/helper/SC_Helper_DB.php

    r23503 r23523  
    8989    public function sfColumnAdd($tableName, $colName, $colType) 
    9090    { 
    91         $objQuery =& SC_Query_Ex::getSingletonInstance($dsn); 
     91        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
    9292 
    9393        return $objQuery->query("ALTER TABLE $tableName ADD $colName $colType "); 
     
    106106    { 
    107107        $dbFactory = SC_DB_DBFactory_Ex::getInstance(); 
    108         $dsn = $dbFactory->getDSN($dsn); 
    109108 
    110109        $objQuery =& SC_Query_Ex::getSingletonInstance(); 
Note: See TracChangeset for help on using the changeset viewer.