Ignore:
Timestamp:
2006/09/26 12:56:28 (20 years ago)
Author:
kakinaka
Message:

blank

File:
1 edited

Legend:

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

    r5858 r5872  
    3939 
    4040    function commit() { 
     41        $this->conn->query("SET AUTOCOMMIT=1;"); 
    4142        $this->conn->query("COMMIT"); 
    4243    } 
    4344     
    4445    function begin() { 
    45         $this->conn->query("BEGIN"); 
     46//      $this->conn->query("BEGIN"); 
     47        $this->conn->query("SET AUTOCOMMIT=0;"); 
     48        $this->conn->query("START TRANSACTION;"); 
    4649    } 
    4750     
    4851    function rollback() { 
     52        $this->conn->query("SET AUTOCOMMIT=1;"); 
    4953        $this->conn->query("ROLLBACK"); 
    5054    } 
Note: See TracChangeset for help on using the changeset viewer.