Changeset 5929 for temp/trunk


Ignore:
Timestamp:
2006/09/27 09:39:15 (20 years ago)
Author:
kakinaka
Message:

blank

Location:
temp/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/class/SC_Query.php

    r5928 r5929  
    363363    } 
    364364     
    365     function curval($table, $colname) { 
     365    function currval($table, $colname) { 
    366366        $sql = ""; 
    367367        if (DB_TYPE == "pgsql") { 
  • temp/trunk/html/admin/system/bkup.php

    r5928 r5929  
    371371 
    372372    if(DB_TYPE == "pgsql"){ 
    373         $ret = $objQuery->currval($table_name, $colname); 
     373        $ret = $objQuery->nextval($table_name, $colname) - 1; 
    374374    }else if(DB_TYPE == "mysql"){ 
    375375        $sql = "SHOW TABLE STATUS LIKE ?"; 
Note: See TracChangeset for help on using the changeset viewer.