Ignore:
Timestamp:
2006/11/09 13:27:05 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

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

    r7995 r7996  
    413413    function get_auto_increment($table_name){ 
    414414        // ¥í¥Ã¥¯¤¹¤ë 
    415     //  $this->BEGIN(); 
     415        $this->BEGIN(); 
    416416         
    417417        // ¼¡¤ÎIncrement¤ò¼èÆÀ 
    418         //$arrRet = $this->query("SHOW TABLE STATUS LIKE ?", array($table_name)); 
    419         $arrRet = $this->getAll("SELECT * FROM dtb_payment"); 
    420         sfprintr($arrRet); 
     418        $arrRet = $this->getAll("SHOW TABLE STATUS LIKE ?", array($table_name)); 
    421419        $auto_inc_no = $arrRet["Auto_increment"]; 
    422420         
     
    425423         
    426424        // ²ò½ü¤¹¤ë 
    427     //  $this->COMMIT(); 
     425        $this->COMMIT(); 
    428426         
    429427        sfprintr($auto_inc_no); 
Note: See TracChangeset for help on using the changeset viewer.