Ignore:
Timestamp:
2008/09/06 23:21:00 (18 years ago)
Author:
Seasoft
Message:

getLastQuery()のロジックを SC_Query から SC_DbConn に移動し、両方で利用可能に。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/comu-ver2/data/class/SC_Query.php

    r17581 r17595  
    9696    /** 
    9797     * 直前に実行されたSQL文を取得する. 
     98     * SC_DBconn::getLastQuery() を利用. 
    9899     * 
    99100     * @param boolean $disp trueの場合、画面出力を行う. 
     
    101102     */ 
    102103    function getLastQuery($disp = true) { 
    103         $sql = $this->conn->conn->last_query; 
    104         if($disp) { 
    105             print($sql.";<br />\n"); 
    106         } 
    107         return $sql; 
     104        return $this->conn->getLastQuery($disp); 
    108105    } 
    109106 
Note: See TracChangeset for help on using the changeset viewer.