Ignore:
Timestamp:
2006/11/29 18:08:19 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/lib/slib.php

    r9412 r9413  
    9999    // Àµ¾ï¤ËÀܳ¤µ¤ì¤Æ¤¤¤ë¾ì¹ç 
    100100    if(!$objQuery->isError()) { 
    101         $arrRet = sfGetColumnList($table_name, $objQuery); 
     101        list($db_type) = split(":", $dsn); 
     102         
     103        $arrRet = sfGetColumnList($table_name, $objQuery, $db_type); 
    102104        if(count($arrRet) > 0) { 
    103105            if(!in_array($col_name, $arrRet)){ 
     
    107109 
    108110        /* 
    109         list($db_type) = split(":", $dsn); 
    110111        // postgresql¤Èmysql¤È¤Ç½èÍý¤òʬ¤±¤ë 
    111112        if ($db_type == "pgsql") { 
     
    146147 
    147148// ¥Æ¡¼¥Ö¥ë¤Î¥«¥é¥à°ìÍ÷¤ò¼èÆÀ¤¹¤ë 
    148 function sfGetColumnList($table_name, $objQuery = ""){ 
     149function sfGetColumnList($table_name, $objQuery = "", $db_type = DB_TYPE){ 
    149150    if($objQuery == "") $objQuery = new SC_Query(); 
    150151    $arrRet = array(); 
Note: See TracChangeset for help on using the changeset viewer.