Changeset 5797 for temp/trunk


Ignore:
Timestamp:
2006/09/25 17:46:58 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/admin/system/bkup.php

    r5796 r5797  
    279279    $ret = ""; 
    280280     
     281    if(DB_TYPE == "pgsql"){ 
     282        $match = "auto_increment"; 
     283    }else if(DB_TYPE == "mysql"){ 
     284        $match = 'nextval(\''; 
     285    } 
     286 
    281287    foreach($arrColList['col_def'] as $key => $val){ 
    282         if (substr($val,0,9) == 'nextval(\'') { 
     288        if (substr($val,0,9) == $match) { 
    283289            $col = $arrColList['col_name'][$key]; 
    284290            $autoVal = lfGetAutoIncrementVal($table_name, $col); 
     
    332338        $ret = $arrData['Auto_increment']; 
    333339    } 
    334      
    335     sfprintr($ret); 
    336340    return $ret; 
    337341} 
Note: See TracChangeset for help on using the changeset viewer.