Changeset 5878 for temp/trunk/data/class
- Timestamp:
- 2006/09/26 13:52:34 (20 years ago)
- File:
-
- 1 edited
-
temp/trunk/data/class/SC_Query.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
temp/trunk/data/class/SC_Query.php
r5876 r5878 40 40 function commit() { 41 41 $this->conn->query("COMMIT"); 42 // $this->conn->query("SET AUTOCOMMIT=1;");43 42 } 44 43 45 44 function begin() { 46 // $this->conn->query("BEGIN"); 47 // $this->conn->query("SET AUTOCOMMIT=0;"); 48 $this->conn->query("START TRANSACTION;"); 45 $this->conn->query("BEGIN"); 49 46 } 50 47 51 48 function rollback() { 52 49 $this->conn->query("ROLLBACK"); 53 // $this->conn->query("SET AUTOCOMMIT=1;");54 50 } 55 51 … … 57 53 $this->conn->query($str, $arrval); 58 54 } 59 55 60 56 function autoselect($col, $table, $arrwhere = array(), $arrcon = array()) { 61 57 $strw = "";
Note: See TracChangeset
for help on using the changeset viewer.
