Changeset 13308


Ignore:
Timestamp:
2007/05/22 22:26:54 (15 years ago)
Author:
nakanishi
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/class/SC_Query.php

    r13307 r13308  
    522522            $seqtable = $table . "_" . $colname . "_seq"; 
    523523            $sql = "SELECT NEXTVAL('$seqtable')"; 
     524            $ret = $this->conn->getOne($sql); 
    524525        }else if (DB_TYPE == "mysql") { 
    525526            $sql = "SELECT last_insert_id();"; 
    526         } 
    527         $ret = $this->conn->getOne($sql); 
     527            $ret = $this->conn->getOne($sql); 
     528        } 
     529         
    528530         
    529531        return $ret; 
Note: See TracChangeset for help on using the changeset viewer.